PlotPCcorrelation: Plot Correlation of PCs with a metadata column of a Seurat...

Description Usage Arguments Value Examples

View source: R/plotpccorrelation.R

Description

Plot Correlation of PCs with a metadata column of a Seurat object or a SingleCellExperiment object

Usage

1
2
PlotPCcorrelation(object, reduction = "lsi", column = "nCount_ATAC",
  method = "spearman")

Arguments

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

Value

A ggplot2 scatter plot

Examples

1
2
3
4
## Not run: 
PlotPCcorrelation(pbmc_seurat, reduction = "lsi")

## End(Not run)

crazyhottommy/scATACutils documentation built on June 15, 2020, 9:31 p.m.