plotPCoAPlotly: Plot PCoA

Description Usage Arguments Value Examples

View source: R/visualization.R

Description

Plot PCoA

Usage

1
2
3
4
plotPCoAPlotly(physeq.input, condition.color.vec,
  condition.color.name = "condition", condition.shape.vec,
  condition.shape.name = "condition", method = "bray",
  columnTitle = "Title", pc.a = "Axis.1", pc.b = "Axis.2")

Arguments

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

Value

the plot

Examples

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))

PathoStat documentation built on June 3, 2018, 6 p.m.