Get_Cor: Compare the correlations between clusters in one/two...

Description Usage Arguments Value Examples

View source: R/Get_Cor.R

Description

Compare the correlations between clusters in one/two seurat.obj, only in mouse or human

Usage

1
2
3
4
5
6
7
8
Get_Cor(
  seurat.1,
  seurat.2 = NULL,
  species.1 = "mouse",
  gene = NULL,
  species.2 = "mouse",
  method = "pearson"
)

Arguments

seurat.1

seurat.obj1

seurat.2

seurat.obj2, could be NULL

species.1

the species of the seuart.obj1, 'mouse' (default)

gene

To Compare the correlations in the genes you interested

species.2

the species of the seuart.obj2 (default)

method

One of "pearson" (default), "kendall", or "spearman": can be abbreviated.

Value

the data.frame of the correlations between cluster in two seurat.obj

Examples

1
2
3
4
5
6
## Not run: 
input.file <- system.file('extdata','pbmc_1k.RDS',package = 'LIANLABDATA')
pbmc_1k <- readRDS(input.file)
Get_Cor(pbmc_1k,species.1 = 'mouse')

## End(Not run)

Lian-Lab/LIANLAB documentation built on June 23, 2021, 5:37 a.m.