seurat icon indicating copy to clipboard operation
seurat copied to clipboard

subscript out of bounds when merging

Open ChrisSteel-bio opened this issue 6 months ago • 1 comments

I'm hoping someone might point me in the right direction. When I try and merge the two Seurat objects below, I get a subscript out of bounds error. I'm not sure if the incompatibility is a bug, or an error on my part in the processing.

. + > sce.combined An object of class Seurat 39093 features across 9913 samples within 3 assays Active assay: SCT (16070 features, 0 variable features) 3 layers present: counts, data, scale.data 2 other assays present: RNA, integrated 2 dimensional reductions calculated: pca, umap combo An object of class Seurat 35649 features across 9394 samples within 2 assays Active assay: SCT (15626 features, 3000 variable features) 3 layers present: counts, data, scale.data 1 other assay present: RNA 2 dimensional reductions calculated: pca, umap

merged_obj <- merge(x = sce.combined, y = combo)

Error in .subscript.2ary(x, , j, drop = drop) : subscript out of bounds

ChrisSteel-bio avatar Aug 09 '24 16:08 ChrisSteel-bio