pinellolab / STREAM

STREAM: Single-cell Trajectories Reconstruction, Exploration And Mapping of single-cell data
http://stream.pinellolab.org
GNU Affero General Public License v3.0
173 stars 48 forks source link

A known bug related to `select_variable_genes` #146

Open SummerColdWind opened 10 months ago

SummerColdWind commented 10 months ago

When using the select_variable_genes method on an AnnData object, if adata.X is a sparse matrix, an error will be raised. Therefore, we must first execute:adata.X = adata.X.toarray()