Open william-hutchison opened 1 year ago
I just encountered an open issue in Seurat which could be related: https://github.com/satijalab/seurat/issues/6462
Hello William,
would you like to tackle this issue?
Hi Stefano,
Sure, I will investigate.
Hello all I was looking to report a similar bug with a different error, but also in the merge function in tidyseurat. I have two Seurat-tibble abstraction objects that were both processed. But one was processed and saved as an .rds and re-loaded and other processed at the moment
# A Seurat-tibble abstraction: 3,258 × 14
# Features=36601 | Cells=3258 | Active assay=RNA | Assays=RNA, HTO
.cell orig.ident nCount_RNA nFeature_RNA percent.mt percent.mt.log2 nCount_HTO
<chr> <fct> <dbl> <int> <dbl> <dbl> <dbl>
1 AAACC… SeuratPro… 19558 4585 0 -Inf 6443
2 AAACC… SeuratPro… 572 434 0 -Inf 291
3 AAACC… SeuratPro… 684 528 0 -Inf 177
Second
# A Seurat-tibble abstraction: 870 × 36
# Features=14311 | Cells=870 | Active assay=SCT | Assays=HTO, SCT
.cell orig.ident nCount_RNA nFeature_RNA percent.mt percent.mt.log2 nCount_HTO
<chr> <fct> <dbl> <int> <dbl> <dbl> <dbl>
1 AAACC… SeuratPro… 18507 4378 0 -Inf 784
2 AAACC… SeuratPro… 1311 697 0 -Inf 394
And when I try a merge:
human_EPI<-merge(BE_EPI_seu_new_singlets, y = BE_EPI_old, add.cell.ids = c("new", "old"))
Error in UseMethod(generic = "GetAssayData", object = object) :
no applicable method for 'GetAssayData' applied to an object of class "Assay5"
sessionInfo():
R version 4.4.0 (2024-04-24)
Platform: aarch64-apple-darwin20
Running under: macOS Sonoma 14.1.1
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libRlapack.dylib; LAPACK version 3.12.0
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
time zone: America/Sao_Paulo
tzcode source: internal
attached base packages:
[1] stats4 stats graphics grDevices utils datasets methods
[8] base
other attached packages:
[1] tidyseurat_0.8.0 tidySingleCellExperiment_1.14.0
[3] tidySummarizedExperiment_1.14.0 tidyr_1.3.1
[5] tidyomics_1.0.0 Seurat_4.4.0
[7] nullranges_1.10.0 plyranges_1.24.0
[9] tidybulk_1.16.0 SeuratObject_4.1.4
[11] sp_2.1-4 SingleCellExperiment_1.26.0
[13] ttservice_0.4.0 SummarizedExperiment_1.34.0
[15] Biobase_2.64.0 GenomicRanges_1.56.0
[17] GenomeInfoDb_1.40.0 IRanges_2.38.0
[19] S4Vectors_0.42.0 BiocGenerics_0.50.0
[21] MatrixGenerics_1.16.0 matrixStats_1.3.0
[23] ggplot2_3.5.1 dplyr_1.1.4
During the tidyomics class I ministered I had a more controlled environment and this error did not appear when I was merging with these environment sessionInfo and processing all the data at the same time:
R version 4.4.0 (2024-04-24)
Platform: x86_64-pc-linux-gnu
Running under: Ubuntu 24.04 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.26.so; LAPACK version 3.12.0
locale:
[1] LC_CTYPE=C.UTF-8
[2] LC_NUMERIC=C
[3] LC_TIME=C.UTF-8
[4] LC_COLLATE=C.UTF-8
[5] LC_MONETARY=C.UTF-8
[6] LC_MESSAGES=C.UTF-8
[7] LC_PAPER=C.UTF-8
[8] LC_NAME=C
[9] LC_ADDRESS=C
[10] LC_TELEPHONE=C
[11] LC_MEASUREMENT=C.UTF-8
[12] LC_IDENTIFICATION=C
time zone: Etc/UTC
tzcode source: system (glibc)
attached base packages:
[1] stats4 stats graphics grDevices
[5] utils datasets methods base
other attached packages:
[1] shiny_1.8.1.1
[2] Seurat_4.4.0
[3] readr_2.1.5
[4] iSEE_2.16.0
[5] nullranges_1.10.0
[6] plyranges_1.24.0
[7] tidybulk_1.16.0
[8] tidySingleCellExperiment_1.14.0
[9] tidySummarizedExperiment_1.14.0
[10] tidyomics_1.0.0
[11] tidyr_1.3.1
[12] tidyseurat_0.8.0
[13] SeuratObject_4.1.4
[14] sp_2.1-4
[15] ttservice_0.4.0
[16] colorspace_2.1-0
[17] dplyr_1.1.4
[18] plotly_4.10.4
[19] ggplot2_3.5.1
[20] SingleCellExperiment_1.26.0
[21] SummarizedExperiment_1.34.0
[22] Biobase_2.64.0
[23] GenomicRanges_1.56.0
[24] GenomeInfoDb_1.40.0
[25] IRanges_2.38.0
[26] S4Vectors_0.42.0
[27] BiocGenerics_0.50.0
[28] MatrixGenerics_1.16.0
[29] matrixStats_1.3.0
Let me know if I can provide more info!
Hello,
I am encountering an error when trying to merge two Seurat Objects after using tidyseurat's filter(). The error can only be produced when the attached data's "integrated" assay is present.
The error is produced by calling merge() with the following code:
The error message is:
The pbmc_complex_filtered_split object looks like:
Merging with the same data works fine without filtering:
And merging after filtering works fine when the "integrated" assay is removed:
sessionInfo():
I have attached the data used to produce this error.
Let me know if I can provide any more information. Thank you!
pbmc_complex.rds.zip