pcoaPlot | R Documentation |
Title
pcoaPlot(
distTab,
metaData,
distType,
classForColor,
classForShape = "None",
ellipse = FALSE,
col = "Set3",
)
distTab |
distance table: bray curtis, weighted/unweighted unifrac distance table |
metaData |
design file |
distType |
which kind of distance you use for plot |
classForColor |
color group |
classForShape |
shape group |
ellipse |
add 0.95 ellipse or not | TRUE or FALSE(default) |
col |
colour palette: including all the types of the "display.brewer.all()" in the RColorBrewer package |
bray <- system.file("extdata", "bray_curtis_otu_table_css.txt", package = "microVisu")
design.txt <- system.file("extdata", "design.txt", package = "microVisu")
pcoaPlot(bray, metaData = design.txt, distType = "Bray Curtis", classForColor = "climate",classForShape = "status",
col = "Paired")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.