plotPC | R Documentation |
This function is a part of the data analysis functionality of tcgaCleaneR
. It helps to visualize the PCs from get.pca
.
plotPC(pca.data, data, group, plot_type, pcs.no)
pca.data |
list: PCA output from |
data |
S4 data object |
group |
character: Color code PCs based on group. groups included are 'Time', 'Tissue', 'Plate', 'TSS', 'Center' |
plot_type |
character: Plot type |
pcs.no |
numeric vector: PCs that needs to be plotted |
Density Plot, Box Plot
## Not run: plotPC(pca.data, data = brca.data, group = "Time", plot_type = "DensityPlot", pcs.no = c(1,2,3)) plotPC(pca.data = df6, data = brca.data, group = "Plate", plot_type = "BoxPlot", pcs.no = c(1,2,4)) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.