Open hollylutz opened 4 years ago
Hi Holly If you look at Chapter 9 of the book with WOlfgang there are all the different ways you can get ordination plots in R from a distance matrix, you don't need phyloseq for that Here is a link : http://web.stanford.edu/class/bios221/book/Chap-MultivaHetero.html
Best Susan
On Tue, Nov 5, 2019 at 8:16 AM hollylutz notifications@github.com wrote:
Hi Joey,
Do you have any plans to incorporate Cameron Martino's DEICODE https://forum.qiime2.org/t/robust-aitchison-pca-beta-diversity-with-deicode/8333 method into the ordinate function of phyloseq? As I've only really worked with phyloseq, I am not sure how to get the results from my analyses with DEICODE (the distance matrix) back into R where I can make my own PCoA plots. Usually I just use the ordinate function with my ps object and go from there.
e.g. what I usually do with phyloseq...
ps.unif.log = ordinate(ps, method = "PCoA", distance = "unifrac") ps.unif.evals = ps.unif.log$values$Eigenvalues p = plot_ordination(ps, ps.dist.unif.log, color="thing") + coord_fixed(sqrt(ps.dist.unif.evals[2] / ps.dist.unif.evals[1]))
I guess I can use something like the eigen function in R to get eigenvalues, but I'm not sure what exactly is going into the ps.log file produced by the ordinate function.
Thanks in advance, Holly
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/joey711/phyloseq/issues/1259?email_source=notifications&email_token=AAJFZPKOSFUSJQN6J6YZ5GTQSGL43A5CNFSM4JJEMW42YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HW53STA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJFZPJZ7WISE3HNFEV2EBDQSGL43ANCNFSM4JJEMW4Q .
-- Susan Holmes John Henry Samter Fellow in Undergraduate Education Professor, Statistics 2017-2018 CASBS Fellow, Sequoia Hall, 390 Serra Mall Stanford, CA 94305 http://www-stat.stanford.edu/~susan/
Hi Joey,
Do you have any plans to incorporate Cameron Martino's DEICODE method into the ordinate function of phyloseq? As I've only really worked with phyloseq, I am not sure how to get the results from my analyses with DEICODE (the distance matrix) back into R where I can make my own PCoA plots. Usually I just use the ordinate function with my ps object and go from there.
e.g. what I usually do with phyloseq...
ps.unif.log = ordinate(ps, method = "PCoA", distance = "unifrac") ps.unif.evals = ps.unif.log$values$Eigenvalues p = plot_ordination(ps, ps.dist.unif.log, color="thing") + coord_fixed(sqrt(ps.dist.unif.evals[2] / ps.dist.unif.evals[1]))
I guess I can use something like the eigen function in R to get eigenvalues, but I'm not sure what exactly is going into the ps.log file produced by the ordinate function.
Thanks in advance, Holly