View source: R/inter_functions.R
calculatePCAs | R Documentation |
Function to compute the PCAs for a given distance matrix
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
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.