Description Usage Arguments Value Examples
View source: R/visualization.R
Plot PCoA
1 2 3 4 | plotPCoAPlotly(physeq.input, condition.color.vec,
condition.color.name = "condition", condition.shape.vec = NULL,
condition.shape.name = "condition", method = "bray",
columnTitle = "Title", pc.a = "Axis.1", pc.b = "Axis.2")
|
physeq.input |
Input data object that contains the data to be plotted. Required |
condition.color.vec |
color vector. Required |
condition.color.name |
color variable name. Required |
condition.shape.vec |
shape vector. Required |
condition.shape.name |
shape variable name. Required |
method |
which distance metric |
columnTitle |
Title to be displayed at top of heatmap. |
pc.a |
pc.1 |
pc.b |
pc.2 |
the plot
1 2 3 4 5 | data_dir_test <- system.file("data", package = "PathoStat")
pstat_test <- loadPstat(indir=data_dir_test,
infileName="pstat_data_2_L1.rda")
plotPCoAPlotly(pstat_test, condition.color.vec = rbinom(33,1,0.5),
condition.shape.vec = rbinom(33,1,0.5))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.