-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Labels
Description
Hi there,
Thanks a lot for the amazing package!
I have a question regarding the interoperability of escape and Seurat. Somehow, I can't use the AggregateExpression function on a Seurat object created by runEscape. Ideally, I want to aggregate the enrichment scores using this function for downstream analysis.
GS <- list(Bcells = c("MS4A1", "CD79B", "CD79A", "IGH1", "IGH2"),
Tcells = c("CD3E", "CD3D", "CD3G", "CD7","CD8A"))
pbmc_small <- SeuratObject::pbmc_small
pbmc_small <- runEscape(pbmc_small,
gene.sets = GS,
min.size = NULL)
pbmc_aggr <- AggregateExpression(pbmc_small,
assays = "escape",
return.seurat = T,
group.by = "groups")
Error in data.return[[1]] : subscript out of boundsAm I doing something wrong? Thanks for your feedback.
Best wishes,
Tobi
Reactions are currently unavailable