jdekanter / CHETAH

scRNA-seq cell type identification
GNU Affero General Public License v3.0
42 stars 9 forks source link

coordinates will lose matrix form if just have one row data #11

Closed xiebb123456 closed 2 years ago

xiebb123456 commented 5 years ago

thanks for the good tools, the coordinates in 'CHETAHclassifier' needs to change form 'coordinates <- coordinates[coordinates[,2] != 0, ]' to 'coordinates <- coordinates[coordinates[,2] != 0, ,drop=F]'

jdekanter commented 2 years ago

I've made this chance (fi-na-ly) in version 1.12.1, which should become available on Bioconductor within the next few days.