muscat icon indicating copy to clipboard operation
muscat copied to clipboard

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

Open frenkiboy opened this issue 4 years ago • 0 comments

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.

frenkiboy avatar Dec 04 '20 12:12 frenkiboy