View source: R/plottingfunctions.R
PlotPCA | R Documentation |
PCA plots of data for QC
PlotPCA(inputData, viewer = TRUE, stype = "", palette = "Set1")
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 |
a highcharter object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.