Hi,
I would like to ask for the problem I am having recently without any solution yet.
I am trying to use csSAM package to identify significant cell type-specific DEGs between 2 groups. So far I have used csfit() then csSAM() function successfully and get the matrix of contrasting gene expression between 2 groups per cell type, next I would like to use fdrCsSAM() and findSigGene() functions to get the result of significant DEGs for my data set.
The problem is when I use the fdrCsSAM() function this error keeps occurred:
dimnames(covmat.unscaled) <- list(xnames, xnames) gave the following error:
Length [1] of 'dimnames' is not equal to the size of the array
I assume this problem came from the format of my input matrix, I used csfit() function for each group matrix separately then csSAM() function for the 2 fitted model and it worked well. But for fdrCsSAM() the input expression matrix included the 2 groups, as well as for the input proportion matrix.
If anyone has any idea how to overcome this problem, please let me know. Thanks for your help!