plotPCAPlotly {PathoStat} | R Documentation |
Plot PCA
plotPCAPlotly(df.input, condition.color.vec, condition.color.name = "condition", condition.shape.vec, condition.shape.name = "condition", columnTitle = "Title", pc.a = "PC1", pc.b = "PC2")
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 |
the plot
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)))