calculate_cor_mat {sccca}R Documentation

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")

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

Value

correlation matrix of genes.

Author(s)

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


[Package sccca version 0.1.1 Index]