constantAmateur / SoupX

R package to quantify and remove cell free mRNAs from droplet based scRNA-seq data
253 stars 34 forks source link

Fix matrix subsetting in expandClusters #34

Closed gtca closed 4 years ago

gtca commented 4 years ago

Due to automatic matrix -> numeric conversion in R, if a cluster with only one cell was present, expandClusters() was failing.

constantAmateur commented 4 years ago

Thanks for fixing this. Failure to put drop=FALSE causes errors a lot of the time...