HelenaLC / muscat

Multi-sample multi-group scRNA-seq analysis tools
166 stars 33 forks source link

Error when colnames(assays(sce)) != rownames(colData(sce)) #52

Open frenkiboy opened 3 years ago

frenkiboy commented 3 years ago

The Aggregate function crashes with a cryptic subset error when the above condition is not satisfied. I thought it would create an invalid SingleCellExperiment object, but it doesn't.

Happens often when using dplyr to format the cdata, because it strips the rownames. It would be very nice if the function crashes with an informative error.