Description Usage Arguments Value Examples
View source: R/plotpccorrelation.R
Plot Correlation of PCs with a metadata column of a Seurat object or a SingleCellExperiment object
1 2 | PlotPCcorrelation(object, reduction = "lsi", column = "nCount_ATAC",
method = "spearman")
|
object |
A Seurat or SingleCellExperiment Object |
reduction |
The reduction name. e.g. pca, lsi, PCA, LSI |
column |
the name of the metadata column or ColData |
method |
correlation method, see cor |
A ggplot2 scatter plot
1 2 3 4 | ## Not run:
PlotPCcorrelation(pbmc_seurat, reduction = "lsi")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.