compute_all_cor: Compute the difference between every single pair of cells

Description Usage Arguments Value

Description

Compute the distance matrix using a user-defined metric

Usage

1
2
3
4
5
6
7
8
compute_all_cor(
  x,
  method = "correlation",
  assay = "integrated",
  select_cells1 = NULL,
  select_cells2 = NULL,
  select_genes = NULL
)

Arguments

x

a Seurat object

method

'correlation', 'partial_corr', or 'distance'

select_cells1

a logical vector selecting the cells forming the rows of the correlation matrix

select_cells2

similarly for the coluns

select_genes

which genes to compare, default is variable genes

Value

a correlation matrix with select_cells1 along the rows and select_cells2 along the columns


Yutong441/TBdev documentation built on Dec. 18, 2021, 8:22 p.m.