Learn R Programming

IntLIM (version 2.0.2)

PlotPCA: PCA plots of data for QC

Description

PCA plots of data for QC

Usage

PlotPCA(inputData, viewer = TRUE, stype = "", palette = "Set1")

Value

a highcharter object

Arguments

inputData

IntLimObject output of ReadData()

viewer

whether the plot should be displayed in the RStudio viewer (TRUE) or in Shiny/Knittr (FALSE)

stype

category to color-code by (can be more than two categories)

palette

choose an RColorBrewer palette ("Set1", "Set2", "Set3", "Pastel1", "Pastel2", "Paired", etc.) or submit a vector of colors