plotPCAPlotly {PathoStat}R Documentation

Plot PCA

Description

Plot PCA

Usage

plotPCAPlotly(df.input, condition.color.vec,
  condition.color.name = "condition", condition.shape.vec = NULL,
  condition.shape.name = "condition", columnTitle = "Title",
  pc.a = "PC1", pc.b = "PC2")

Arguments

df.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

columnTitle

Title to be displayed at top of heatmap.

pc.a

pc.1

pc.b

pc.2

Value

the plot

Examples

data('iris')
plotPCAPlotly(t(iris[,1:4]),
condition.color.vec = c(rep(1,100), rep(0,50)),
condition.shape.vec = c(rep(0,100), rep(1,50)))

[Package PathoStat version 1.8.4 Index]