Open Ecotone23 opened 1 year ago
Prune samples will literally just filter out samples with less than 500 reads while rarefying will normalize all your samples to have exactly 500 reads. In my experience I use rarefy_even_depth.. not sure how rarefy is different.
Thanks! That is really helpful.
Hello phyloseq community,
Can anyone help clear my confusion regarding some similar functions?
I would like to rarefy my samples using the sampling depth of 500 reads. Can I use either prune_samples(sample_sums(my_phyloseq_object)>500, my_phyloseq_object), or rarefy(my_phyloseq_object, 500), or rarefy_even_depth(my_phyloseq_object, sample.size=500, replace=FALSE) to achieve the same goal?
What's major difference among these functions? Thank you.
Best,
Gabriel