plotPCoAPlotly {PathoStat}R Documentation

Plot PCoA

Description

Plot PCoA

Usage

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

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

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

[Package PathoStat version 1.10.0 Index]