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.
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.