Hello all,
Out of curiosity I am trying to run MuSiC with LMC-RNA-seq data as the SingleCellExperiment. My input sce object and bulk matrices have the same number of rows and same rownames. Looking at the code to help debug, I found that music_basis() was called to extract genes from sce. Running that, I found that that basis$Disgn.mtx is a matrix without rownames. This may be the cause of the "Too few common genes" bug for me as in utils.R, cm.gene is calculated with intersect( rownames(sc.basis$Disgn.mtx), bulk.gene ).
Could you please look into this and see if there is a way to resolve the music_basis() helper function bug?
Thank you!
Miscellaneous object details below to help reproduce issue:
I resolved this issue. It was a problem in how I created the SingleCellExperiment object. I had been using a data.frame to store the counts data, but it should be a matrix class.
Hello all, Out of curiosity I am trying to run MuSiC with LMC-RNA-seq data as the SingleCellExperiment. My input
sce
object and bulk matrices have the same number of rows and same rownames. Looking at the code to help debug, I found thatmusic_basis()
was called to extract genes fromsce
. Running that, I found that that basis$Disgn.mtx is a matrix without rownames. This may be the cause of the "Too few common genes" bug for me as in utils.R,cm.gene
is calculated withintersect( rownames(sc.basis$Disgn.mtx), bulk.gene )
.Could you please look into this and see if there is a way to resolve the
music_basis()
helper function bug?Thank you! Miscellaneous object details below to help reproduce issue: