-
Notifications
You must be signed in to change notification settings - Fork 30
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
no slot of name "var.features" for this object of class "Assay5" #85
Comments
Hello, perhaps it could be due to incompatible package versions? can you share your SessionInfo()? |
Hi, Here it is- `R version 4.3.2 (2023-10-31) Matrix products: default locale: time zone: America/Los_Angeles attached base packages: other attached packages: |
Looking more closely at your error log, I suspect you have an older version of scGate installed. |
Hi @mass-a, I tried updating the scGate pacakge to version 1.2.0 as mentioned here, https://github.com/carmonalab/scGate Still I get this error: `query.projected <- Run.ProjecTILs(merged_obj_TIL, ref=ref) Error: BiocParallel errors
Is it something with the seurat version? |
scGate 1.2.0 is from mid-2022 (prior to Seurat 5 release). |
Sure, I tried to do it using the command above and still it downloads the 1.4.1 version:
I then tried to specify the version:
|
Hello, library(remotes)
remotes::install_github("carmonalab/scGate", ref="v1.6.2") Best |
Thank you. I did try using remotes and still the same error:
|
Just putting this here as it's a similar issue, and my workaround is likely generic. My issue was no slot called "images":
Fixed by just copying a slot and naming it "images" (this slot is not used at all by projecTILs so no behaviour is altered):
|
Hi,
I am encountering the issue with the var.features which is not present in the meta.data. I tried to manually add the col var.features and still no luck.
query.projected <- Run.ProjecTILs(merged_obj_unintegrated_TIL, ref=ref,reduction = "pca") | | 0%[1] "Using assay RNA for query" Pre-filtering cells with scGate... Error: BiocParallel errors 1 remote errors, element index: 1 0 unevaluated and other errors first remote error: Error in as.vector(x): no slot of name "var.features" for this object of class "Assay5"
Seurat object is just merged object which contains 4 samples.
merged_obj_unintegrated_TIL An object of class Seurat 20138 features across 31797 samples within 1 assay Active assay: RNA (20138 features, 2000 variable features) 3 layers present: data, counts, scale.data 3 dimensional reductions calculated: pca, umap.unintegrated, umap
slotNames(merged_obj_unintegrated_TIL) [1] "assays" "meta.data" "active.assay" "active.ident" "graphs" "neighbors" "reductions" [8] "images" "project.name" "misc" "version" "commands" "tools"
How can I debug this?
Thank you!
The text was updated successfully, but these errors were encountered: