View source: R/Visualization_check.R
exprPCA | R Documentation |
plot a pca for expression matrix
exprPCA(
expr,
group_list,
palette = RColorBrewer::brewer.pal(3, "Set2")[1:2],
filename = NA,
main = "all samples - PCA",
width = 3.5,
height = 4,
...
)
expr |
a expression matrix |
group_list |
a character vector order by samples |
palette |
group palette |
filename |
file name you want to save plot |
main |
plot title |
width |
width of plot |
height |
height of plot |
... |
more parameters in |
Use PCA
to get PCA of grouped samples.
a PCA plot or a file
exprPCA(expr,group_list)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.