Description Usage Arguments Value Examples
plot PCA, TSNE
1 2 3 |
sce |
SingleCellExperiment object. |
shape, |
color string. Specify a column in |
ggplot object.
1 2 3 4 5 6 7 8 9 10 11 12 13 | as_SingleCellExperiment(sim_mat) %>% plot_PCA()
as_SingleCellExperiment(sim_mat, sim_sample_class) %>% plot_PCA()
as_SingleCellExperiment(sim_mat, sim_sample_class) %>% plot_PCA(shape = 'label')
as_SingleCellExperiment(sim_mat, sim_sample_class) %>% plot_PCA(color = 'label')
as_SingleCellExperiment(sim_mat, sim_sample_class) %>% plot_PCA(shape = 'label', color = 'label')
as_SingleCellExperiment(sim_mat) %>% plot_PCA()
as_SingleCellExperiment(sim_mat, sim_sample_class) %>% plot_PCA()
as_SingleCellExperiment(sim_mat, sim_sample_class) %>% plot_PCA(shape = 'label')
as_SingleCellExperiment(sim_mat, sim_sample_class) %>% plot_PCA(color = 'label')
as_SingleCellExperiment(sim_mat, sim_sample_class) %>% plot_PCA(shape = 'label', color = 'label')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.