View source: R/general_graphics.R
PlotTreeGraph | R Documentation |
This functions creates dendogram tree plots.
PlotTreeGraph(
mbSetObj,
plotNm,
distnm,
clstDist,
metadata,
taxrank,
colorOpts,
format = "png",
dpi = 72,
width = NA,
plotType = "rectangle"
)
mbSetObj |
Input the name of the mbSetObj. |
plotNm |
Character, input the name of the plot. |
distnm |
Character, input the name of the selected distance measure. "bray" for Bray-Curtis Index, "jsd" for Jensen-Shannon Divergence, "jaccard" for Jaccard Index, "unifrac" for Unweighted Unifrac Distance, and "wunifrac" for weighted unifrac distance. |
clstDist |
Character, input the name of the selected clustering algorithm. "ward" for Ward, "average" for Average, "complete" for Complete, and "single" for Single. |
metadata |
Character, input the name of the experimental factor. |
taxrank |
Character, input the taxonomic level to perform classification. For instance, "OTU-level" to use OTUs. |
colorOpts |
Character, "default" or "viridis". |
format |
Character, by default the plot is .png format. |
dpi |
The dots per inch. Numeric, by default it is set to 72. |
width |
Width of the plot. Numeric, by default it is set to NA. |
plotType |
Character, default is set to "rectangle". Alternative is "triangle". |
datatype |
Character, "16S" if marker gene data and "metageno" if shotgun 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.