This Function is used to perform cell aggregation by averaging the expression of scRNA-seq matrix and then perform correlation matrix
calculate_cor_mat(expression_mat, condition = NULL, clusters, assay = "RNA")
correlation matrix of genes.
Seurat object that contains the expression matrix.
column name of the condition in th meta data of the Seurat object.
column name of the cluster numbers in the meta data of the Seurat object.
the assay to be used default is set to RNA
Mohmed Soudy Mohamed.soudy@uni.lu and Sohpie LE BARS sophie.lebars@uni.lu and Enrico Glaab enrico.glaab@uni.lu