-
Notifications
You must be signed in to change notification settings - Fork 9
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
unable to run power_analysis #4
Comments
Hmm, looks like an error in corncob, but hard to diagnose without the data at hand or a more detailed traceback. I would start by checking that your OTU table does not include NAs and contains counts (integers). |
Hello @cdiener, I am using mbtools version 0.49.0 and corncob version 0.4.1 x<-as.data.frame(physeq@otu_table)
Thank you for your time. |
Hmm okay, maybe something with estimating the parameters. What is the output after running |
Here is what I get:
Thank you so much for your help! |
Thanks that helps. I think I have a suspicion. Does |
Yes, taxa_are_rows(physeq) does return TRUE. Are you referring to orient_taxa from the package speedyseq? I downloaded speedyseq package and got the following:
I looked at my OTU table and it is non-zero:
I ran traceback() right after getting the validObject(.Object) error and got the following:
Do you have any suggestions on how to proceed? Thank you once again. |
Uh, bummer. Looks like none of the taxa have usable parameters. Will be hard to diagnose without the data set, but you could start by checking if |
Hello,
I am trying to run power_analysis on my phyloseq object:
I received these messages:
INFO [2023-11-20 14:53:09] Using median depth from reference data (6472).
INFO [2023-11-20 14:53:09] Estimating corncob model parameters for 941 taxa...
Error in as(x, "matrix")[i, j, drop = FALSE] : subscript out of bounds
May I ask what is wrong?
thanks so much!
The text was updated successfully, but these errors were encountered: