View source: R/general_graphics.R
PCoA3D.Anal | R Documentation |
This functions creates a 3D PCoA plot from the microbiome data. This is used by the Beta-Diversity analysis. The 3D interactive visualization is on the web.
PCoA3D.Anal(
mbSetObj,
ordMeth,
distName,
taxrank,
colopt,
variable,
taxa,
alphaopt,
jsonNm
)
mbSetObj |
Input the name of the mbSetObj. |
ordMeth |
Character, input the name of the ordination method. "PCoA" for principal coordinate analysis and "NMDS" for non-metric multidimensional scaling. |
distName |
Character, input the name of the distance method. |
taxrank |
Character, input the taxonomic level for beta-diversity analysis. |
colopt |
Character, color the data points by the experimental factor, the taxon abundance of a selected taxa, or alpha diversity. |
variable |
Character, input the name of the experimental factor. |
taxa |
Character, if the data points are colored by taxon abundance, input the name of the selected taxa. |
alphaopt |
Character, if the data points are colored by alpha-diversity, input the preferred alpha-diversity measure. |
jsonNm |
Character, input the name of the json file to output. |
datatype |
Character, input "16S" if the data is marker gene data and "metageno" if it is metagenomic data. |
Jeff Xia jeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.