KrishnaswamyLab/MELD

Unnecessary type restriction

scottgigante opened this issue · 0 comments

https://github.com/KrishnaswamyLab/MELD/blob/master/meld/cluster.py#L187 restricts the accepted types beyond what is necessary - e.g. the output of sklearn's OneHotEncoder is a scipy.sparse.spmatrix. Maybe instead use scprep.utils.toarray(RES) and let that fail if the input is wrong?