Skip to content
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

rarefy_even_depth() Error en rep_len(x["OTUi"], x["times"]): valor de 'length.out' no válido #1753

Open
imonteroo opened this issue May 27, 2024 · 0 comments

Comments

@imonteroo
Copy link

I have an Error un rarefy_even_depth(). Never had it before. Thank you

ps.met.aa
phyloseq-class experiment-level object
otu_table()   OTU Table:          [ 28680 taxa and 74 samples ]:
sample_data() Sample Data:        [ 74 samples by 102 sample variables ]:
tax_table()   Taxonomy Table:     [ 28680 taxa by 10 taxonomic ranks ]:
taxa are rows
otMA=data.frame(otu_table(ps.met.aa))
mindeepth = min(sapply(otMA,sum)) 
mindeepth
11156903
ps.met.aar = phyloseq::rarefy_even_depth(ps.met.aa, rngseed=123, sample.size=11156900, replace=FALSE, trimOTUs = TRUE)
`set.seed(123)` was used to initialize repeatable random subsampling.
Please record this for your records so others can reproduce.
Try `set.seed(123); .Random.seed` for the full vector
...
Error en rep_len(x["OTUi"], x["times"]): valor de 'length.out' no válido
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant