-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Hello,
I am working with Seurat v5 with my samples in different layers to test the different integration methods. Unfortunately the version of STACAS I am working with does not work with V5 layers. I get the following error when I try run FindAnchors.STACAS
stacas_anchors <- FindAnchors.STACAS(obj.list,
+ anchor.features = nfeatures,
+ dims = 1:ndim)
Computing 2000 integration features
Error in `GetAssayData()`:
! GetAssayData doesn't work for multiple layers in v5 assay.
Run `rlang::last_trace()` to see where the error occurred.
`
rlang::last_trace()`
<error/ You can run 'object <- JoinLayers(object = object, layers = layer)'.>
Error in `GetAssayData()`:
! GetAssayData doesn't work for multiple layers in v5 assay.
---
Backtrace:
▆
1. ├─... %>% RunUMAP(dims = 1:ndim)
2. ├─Seurat::RunUMAP(., dims = 1:ndim)
3. └─STACAS::Run.STACAS(., dims = 1:ndim, anchor.features = nfeatures)
4. └─STACAS::FindAnchors.STACAS(...)
5. └─base::lapply(...)
6. └─STACAS (local) FUN(X[[i]], ...)
7. └─STACAS::FindVariableFeatures.STACAS(x, nfeat = n.this, genesBlockList = genesBlockList)
8. ├─base::apply(...)
9. ├─SeuratObject::GetAssayData(obj, assay = assay, slot = "data")
10. └─SeuratObject:::GetAssayData.Seurat(obj, assay = assay, slot = "data")
11. ├─SeuratObject::GetAssayData(object = object[[assay]], layer = layer)
12. └─SeuratObject:::GetAssayData.StdAssay(object = object[[assay]], layer = layer)
Run rlang::last_trace(drop = FALSE) to see 1 hidden frame.
Is there any chance of adding support for layers in STACAS?
Thank you
Metadata
Metadata
Assignees
Labels
No labels