-
Notifications
You must be signed in to change notification settings - Fork 29
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
Error using use_total in zero_low_counts command #227
Comments
zachary-foster
added a commit
that referenced
this issue
Mar 23, 2018
Thanks for the report! I think I have it fixed. Try to install the dev version and see if it goes away:
|
Thanks! I will try later this evening when in computer and let you know :)
…On Friday, March 23, 2018, Zachary Foster ***@***.***> wrote:
Thanks for the report!
I think I have it fixed. Try to install the dev version and see if it goes
away:
devtools::install_github("ropensci/taxa")
devtools::install_github("grunwaldlab/metacoder")
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#227 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/APcStk93qInfRQAVC5Em04-VIvdDHcjQks5thSL-gaJpZM4S4rFn>
.
|
that works! Thanks @zachary-foster |
Cool thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @zachary-foster !
I am encountering an error when using
use_total
inzero_low_counts
. I get this error using my data as well thehmp
datahere is the code (from your tutorial)
print(hmp_otus)
print(hmp_samples)
obj2 <- parse_tax_data(hmp_otus, class_cols = "lineage", class_sep = ";", class_key = c(tax_rank = "info", tax_name = "taxon_name"), class_regex = "^(.+)__(.+)$")
print(obj2)
obj2$data$tax_data <- zero_low_counts(obj2, "tax_data", use_total = TRUE, min_count = 5)
and I get the following error:
Error in if (all(!is_greater_than_max)) { : missing value where TRUE/FALSE needed
The error persist no matter what value I use for
min_counts
whenuse_total = TRUE
. If I use the default settinguse_total = FALSE
I can process the dataset completely following the tutorial.Using:
R version 3.3.3 (2017-03-06) -- "Another Canoe"
metacoder verison 0.2.0.9011
OSX 10.10.5
The text was updated successfully, but these errors were encountered: