You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when I run "seu.list <- lapply(seu.list, function(x) { x <- x[common_features,]; return(x); })", it tells me the error: Error in .subscript.2ary(x, i, j, drop = TRUE) : subscript out of bounds
If I do not run "seu.list <- lapply(seu.list, function(x) { x <- x[common_features,]; return(x); })", the follow 4 lines(show befor) run correct. But when running to the "combined <- IntegrateData(anchorset=anchors, dims=1:30, normalization.method='SCT', features.to.integrate=common_features)", I will get other error messages: [1] 1
Warning: Layer counts isn't present in the assay object; returning NULL
[1] 2
Warning: Layer counts isn't present in the assay object; returning NULL
Merging dataset 2 into 1
Extracting anchors for merged samples
Finding integration vectors
Error in (function (cond) :
error in evaluating the argument 'x' in selecting a method for function 't': subscript out of bounds
In addition: Warning messages:
1: Different cells and/or features from existing assay SCT
2: Different cells and/or features from existing assay SCT
3: Adding image data that isn't associated with any assays
4: Adding image data that isn't associated with any assays
5: Key ‘slice1_’ taken, using ‘sample2_’ instead
6: Adding image data that isn't associated with any assays
7: Adding image data that isn't associated with any assays
8: Key ‘slice1_’ taken, using ‘sample2_’ instead
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have 2 SpaceRanger outs.
First, I transform them to Seurat objects:
Second, I do some filter and scale them:
Third, I want to integrate these tow object and save all features:
But when I run "seu.list <- lapply(seu.list, function(x) { x <- x[common_features,]; return(x); })", it tells me the error:
Error in .subscript.2ary(x, i, j, drop = TRUE) : subscript out of bounds
If I do not run "seu.list <- lapply(seu.list, function(x) { x <- x[common_features,]; return(x); })", the follow 4 lines(show befor) run correct. But when running to the "combined <- IntegrateData(anchorset=anchors, dims=1:30, normalization.method='SCT', features.to.integrate=common_features)", I will get other error messages:
[1] 1
Warning: Layer counts isn't present in the assay object; returning NULL
[1] 2
Warning: Layer counts isn't present in the assay object; returning NULL
Merging dataset 2 into 1
Extracting anchors for merged samples
Finding integration vectors
Error in (function (cond) :
error in evaluating the argument 'x' in selecting a method for function 't': subscript out of bounds
In addition: Warning messages:
1: Different cells and/or features from existing assay SCT
2: Different cells and/or features from existing assay SCT
3: Adding image data that isn't associated with any assays
4: Adding image data that isn't associated with any assays
5: Key ‘slice1_’ taken, using ‘sample2_’ instead
6: Adding image data that isn't associated with any assays
7: Adding image data that isn't associated with any assays
8: Key ‘slice1_’ taken, using ‘sample2_’ instead
Can someone tell me why?
Beta Was this translation helpful? Give feedback.
All reactions