cnio-bu / beyondcell

Beyondcell is a computational methodology for identifying tumour cell subpopulations with distinct drug responses in single-cell RNA-seq and Spatial Transcriptomics data.
Other
40 stars 4 forks source link

bcScore returns NaN values when expr.thres = 0 #114

Closed mj-jimenez closed 1 year ago

mj-jimenez commented 1 year ago

When expr.thres = 0, bcScore still returns NaN values. I think this is caused by no coincidences between a cell's expressed genes and the signature's genes. Also, I think this bug can be fixed modifying lines 147-165 of Score.R.