Plot.MDS {HMP} | R Documentation |
Multidimensional Scaling Plot of Microbiome Data
Description
Plots any number of data sets on an MDS plot.
Usage
Plot.MDS(group.data, main = "Group MDS", retCords = FALSE)
Arguments
group.data |
A list of matrices of taxonomic counts(columns) for each sample(rows). |
main |
A string to be used as the plots title. |
retCords |
A boolean to return the mds coordinates or not. |
Value
A MDS plot and possibly the x-y coordinates for every point.
Examples
data(saliva)
data(throat)
data(tonsils)
### Combine the data sets into a single list
group.data <- list(saliva, throat, tonsils)
Plot.MDS(group.data)
[Package HMP version 2.0.1 Index]