Description Usage Arguments Value Examples
View source: R/inter_functions.R
Function to compute the PCAs for a given distance matrix
1 | calculatePCAs(distmat, pcas)
|
distmat |
the distance matrix |
pcas |
2-element vector of PCAs to include in results |
the x slot limited to pcas after calling stats::prcomp on distmat
1 2 3 4 | data("mouseData", package = "metagenomeSeq")
aggdat <- aggFeatures(mouseData, level = "genus")
distmat <- computeDistMat(aggdat, dist_method = "bray")
calculatePCAs(distmat, c(1,2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.