processPhyloseq | R Documentation |
Takes a phyloseq object and creates the matrices necessary to do adaptive gPCA.
processPhyloseq(physeq, ca = FALSE)
physeq |
A |
ca |
If TRUE, do the normalization as for correspondence analysis (transform counts to relative abundances, compute sample weights, center the relative abundances according to the sample weights). Otherwise, simply center the data. |
A list of the matrix to perform adaptive gPCA on
(X
), the species similarity matrix (Q
), and the
sample weights (weights
).
data(AntibioticPhyloseq) pp = processPhyloseq(AntibioticPhyloseq)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.