Open r-mashoodh opened 11 months ago
I guess the issue might be normalisation here -- where as.integer is failing.
Is it best to stick to raw counts for alpha diversity measures? Would the same be true for beta diversity (ordination methods)?
Hey, so I have had the same issue. Try running just shannon and it should work. I also have normalised data and shannon and simpon work, but Chao1 does not.
I hope this helps somewhat.
I know this issue has come up a bunch (e.g., here: https://github.com/joey711/phyloseq/issues/1018 and https://github.com/joey711/phyloseq/issues/552 - but I noticed its closed but with many people asking the same question, so I thought I'd ask again).
This code worked a couple years ago, but now I'm getting the following error:
(code provided below; ordination methods work fine)
I've implemented several of the changes mentioned across the posts with a similar error message but I cannot seem to plot or estimate richness.
I have update all packages. I have used subset_samples instead of prune_samples. I've used as.integer ... I would appreciate any advice.
I have saved the phyloseq objects ps and ps1 so that they could be inspected.
cheers. and thanks in advance!
gets me the following error:
I have double checked that taxa and OTU names match:
/