View source: R/plotBetaDiversity.R
plotBetaDiv | R Documentation |
Plot Beta Diversity
plotBetaDiv(
dataset = NULL,
method = "bray",
weighted = F,
factor = NULL,
stratify = F,
spokes = T,
ellipse = T,
ci = 0.95,
showStats = T,
labelSamples = F,
separateLegend = F
)
dataset |
MicroVis dataset. Defaults to the active dataset |
method |
Method for dissimilarity calculation. One of either "bray", "euclidean", "jaccard", "unifrac", "manhattan", "canberra", "clark", "kulczynski", "gower", "altGower", "morisita", "horn", "mountford", "raup", "binomial", "chao", "cao", "mahalanobis", "chisq" or "chord" |
weighted |
(Optional) If method is set to "unifrac", whether to perform weighted or unweighted unifrac. Defaults to FALSE |
factor |
Factor along which to group samples for analysis. Defaults to the active factor |
stratify |
Another factor to stratify groups |
spokes |
Draw spokes from group centroids to each sample? Defaults to TRUE |
ellipse |
Draw a confidence interval ellipse for each group? Defaults to TRUE |
ci |
Confidence interval level for ellipses (value between 0 and 1). Defaults to 0.95 |
showStats |
Show statistical results in the plot. Defaults to TRUE |
labelSamples |
Label the samples. Defaults to FALSE |
separateLegend |
Separate the lenged from the figure. Defaults to FALSE |
Scatter plot of the dissimilarity indices of the samples of each group
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.