-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with create_background - found in EWCE #22
Comments
Great catch, just added this. Thanks @Al-Murphy! Will push as soon as i get past some annoying documentation issues that popped up:
|
@Al-Murphy I noticed in MSS you both store #' usethis::use_data(sumstatsColHeaders,overwrite = TRUE, internal=TRUE)
#' save(sumstatsColHeaders,
#' file="data/sumstatsColHeaders.rda") |
Ah took me a while to remember, I store as an rda so users can more easily access it since it's meant to be editable for them! But yeah no reason other than that to do both (of course they could access it the other way but I just tried to make it as easy as possible) |
Ok, gotcha! It turns out my issue was that in the data.R file I was specifying the name of the variable instead of before
after
|
1. Bug description
create_background when all species are the same as the output species and background is not null. In this case currently the background input is ignored instead of just being returned:
This should be changed to:
This affects EWCE in prepare_genesize_control_network and bootstrap_enrichment_test as instead of using the user's inputted background list, it is now creating a new one.
I've added code in EWCE to avoid this for now but it would be better to just update at orthogene
The text was updated successfully, but these errors were encountered: