Learn R Programming

sccca (version 0.1.1)

calculate_cor_mat: Performs aggregation based on cell clusters and condition. Then, it calculates correlation matrix of genes

Description

This Function is used to perform cell aggregation by averaging the expression of scRNA-seq matrix and then perform correlation matrix

Usage

calculate_cor_mat(expression_mat, condition  = NULL, clusters, assay = "RNA")

Value

correlation matrix of genes.

Arguments

expression_mat

Seurat object that contains the expression matrix.

condition

column name of the condition in th meta data of the Seurat object.

clusters

column name of the cluster numbers in the meta data of the Seurat object.

assay

the assay to be used default is set to RNA

Author

Mohmed Soudy Mohamed.soudy@uni.lu and Sohpie LE BARS sophie.lebars@uni.lu and Enrico Glaab enrico.glaab@uni.lu