-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in using runEscape #93
Comments
Hey @pushpinder-bu, Thanks for reaching out and happy to help - can you give me a little more information?
The error suggests an issue with getting the count assay information from your Seurat object. Which is why escape.matrix() as you are feeding it the counts directly. The pbmc_small object issue is strange because the entire testthat framework is based on it that and is running smoothly. Thanks, |
Hi @ncborcherding , Yes I thought as well its due to the count assay information, but when I escape.matrix() and specify the count assay (sc@assays$RNA@counts) it works. So the count matrix is fine, its how it is calling it!! Below is how I am calling the runEscape() GS.hallmark <- getGeneSets(library = "H") For PBMC example, I used below command. sessionInfo() R version 4.2.3 (2023-03-15) Matrix products: default locale: attached base packages: other attached packages: loaded via a namespace (and not attached): |
I updated both to v5 and it works now. |
Great thanks for the follow up! |
Hi,
Thank you for developing this tool. I have been trying to use runEscape on my Seurat object and I keep getting error.
ℹ Did you mean "CLINT1"?
Backtrace:
▆
[.Assay
(obj@assays[[assay]], type)I tried running it using the pbmc_small Seurat object and even then I got an error.
Error in
LayerData()
:!
features
must be one of "MS4A1", "CD79B", "CD79A", "HLA-DRA", "TCL1A", "HLA-DQB1","HVCN1", "HLA-DMB", "LTB", "LINC00926", "FCER2", "SP100", "NCF1", "PPP3CC", "EAF2", "PPAPDC1B",
"CD19", "KIAA0125", "CYB561A3", "CD180", "RP11-693J15.5", "FAM96A", "CXCR4", "STX10", "SNHG7",
"NT5C", "BANK1", "IGLL5", "CD200", "FCRLA", "CD3D", "NOSIP", "SAFB2", "CD2", "IL7R", "PIK3IP1",
"MPHOSPH6", "KHDRBS1", "MAL", "CCR7", "THYN1", "TAF7", "LDHB", "TMEM123", "CCDC104", "EPC1",
"EIF4A2", "CD3E", "TMUB1", "BLOC1S4", "ACSM3", "TMEM204", "SRSF7", "ACAP1", "TNFAIP8", "CD7",
"TAGAP", "DNAJB1", "ASNSD1", "S1PR4", "CTSW", "GZMK", "NKG7", "IL32", "DNAJC2", "LYAR", "CST7",
"LCK", "CCL5", "HNRNPH1", "SSR2", "DLGAP1-AS1", "GIMAP1", "MMADHC", "ZNF76", "CD8A", "PTPN22",
"GYPC", "HNRNPF", "RPL7L1", "KLRG1", "CRBN", "SATB1", "SIT1", "PMPCB", "NRBP1", "TCF7", "HNRNPA3",
"S100A8", "S100A9", "LYZ", "CD14", "FCN1", "TYROBP", "ASGR1", "NFKBIA", "TYMP", "CTSS", "TSPO",
"RBP7", "CTSB", "LGALS1", "FPR1", "VSTM1", "BLVRA", "MPEG1", "BID", "SMCO4", "CFD", "LINC00936",
"LGALS2", "MS4A6A", "FCGRT", "LGALS3", "NUP214", "SCO2", "IL17RA", "IFI6", "HLA-DPA1", "FCER1A",
"CLEC10A", "HLA-DMA", "RGS1", "HLA-DPB1", "HLA-DQA1", "RNF130", "HLA-DRB5", "HLA-DRB1", "CST3",
"IL1B", "POP7", "HLA-DQA2", "CD1C", "GSTP1", "EIF3G", "VPS28", "LY86", "ZFP36L1", "ZNF330",
"ANXA2", "GRN", "CFP", "HSP90AA1", "FUOM", "LST1", "AIF1", "PSAP", "YWHAB", "MYO1G", "SAT1",
"RGS2", "SERPINA1", "IFITM3", "FCGR3A", "LILRA3", "S100A11", "FCER1G", "TNFRSF1B", "IFITM2",
"WARS", "IFI30", "MS4A7", "C5AR1", "HCK", "COTL1", "LGALS9", "CD68", "RP11-290F20.3", "RHOC",
"CARD16", "LRRC25", "COPS6", "ADAR", "PPBP", "GPX1", "TPM4", "PF4", "SDPR", "NRGN", "SPARC",
"GNG11", "CLU", "HIST1H2AC", "NCOA4", "GP9", "FERMT3", "ODC1", "CD9", "RUFY1", "TUBB1", "TALDO1",
"TREML1", "NGFRAP1", "PGRMC1", "CA2", "ITGA2B", "MYL9", "TMEM40", "PARVB", "PTCRA", "ACRBP",
"TSC22D1", "VDAC3", "GZMB", "GZMA", "GNLY", "FGFBP2", "AKR1C3", "CCL4", "PRF1", "GZMH", "XBP1",
"GZMM", "PTGDR", "IGFBP7", "TTC38", "KLRD1", "ARHGDIA", "IL2RB", "CLIC3", "PPP1R18", "CD247",
"ALOX5AP", "XCL2", "C12orf75", "RARRES3", "PCMT1", "LAMP1", "SPON2", or "S100B", not "counts".
Run
rlang::last_trace()
to see where the error occurred.Can you suggest what can be going wrong here?
When I use escape.matrix function and specific the RNA count table, then it works.
enrichment.scores <- escape.matrix(sc@assays$RNA@counts,
gene.sets = GS.hallmark,
groups = 5000,
min.size = 5)
The text was updated successfully, but these errors were encountered: