Open leonfodoulian opened 3 days ago
da....just come across the same problem hours later: obj_lean_1[["RNA3"]] <- as(object = obj_lean_1[["RNA"]], Class = "Assay") Warning: Joining 'counts' layers. If you have the same cells in multiple layers, the expression value for the cell in the 'counts' slot will be the value from the 'counts.at_CD45N_O1.1' layer. Error in methods::slot(object = object, name = "layers")[[layer]][features, : incorrect number of dimensions
Hi,
This is a follow up on issue #8362.
When you subset a
Seurat
object with multiple layers and end up with one of the samples represented by only one cell, you can no longer subset the object any further. The reason is that the corresponding layers will be vectors rather than matrices (dense or sparse). And the code returns the following error:Below is a reproducible code:
And below is my
sessionInfo()
:Best, Leon