Description Usage Arguments Value Examples
Plot PCA results
1 2 3 4 5 6 7 8 9 |
pca_res |
Results from |
m |
optinal methrix object. Default NULL |
col_anno |
Column name of colData(m). Default NULL. Will be used as a factor to color different groups. Required |
shape_anno |
Column name of colData(m). Default NULL. Will be used as a factor to shape different groups. Required |
pc_x |
Default 'PC1' |
pc_y |
Default 'PC2' |
show_labels |
Default FLASE |
ggplot2 object
1 2 3 | data('methrix_data')
mpc = methrix_pca(methrix_data, do_plot = FALSE)
plot_pca(mpc)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.