Closed rschauner closed 3 years ago
Can you provide more information on your test data? Are you using the HTO assay?
Yes, I confirmed today that the HTO assay is active. My test data is one library of my experimental data.
If you'd like you can share your object (or a subsampled / dummy version that reproduces the issue) with us at seuratpackage@gmail.com.
Hi, I just sent over two objects, one that successfully worked and one that hasn't (the object referenced above).
Session Info:
R version 4.0.5 (2021-03-31)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Catalina 10.15.7
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.0/Resources/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices datasets utils methods base
other attached packages:
[1] patchwork_1.1.1 furrr_0.2.2 magrittr_2.0.1 future_1.21.0 forcats_0.5.1
[6] stringr_1.4.0 dplyr_1.0.5 purrr_0.3.4 readr_1.4.0 tidyr_1.1.3
[11] tibble_3.1.1 ggplot2_3.3.3 tidyverse_1.3.1 rsinglecell_0.0.0.1 readxl_1.3.1
[16] here_1.0.1 SeuratObject_4.0.0 Seurat_4.0.1
loaded via a namespace (and not attached):
[1] backports_1.2.1 plyr_1.8.6 igraph_1.2.6
[4] lazyeval_0.2.2 splines_4.0.5 listenv_0.8.0
[7] scattermore_0.7 GenomeInfoDb_1.26.7 pryr_0.1.4
[10] digest_0.6.27 htmltools_0.5.1.1 magick_2.7.2
[13] viridis_0.6.0 fansi_0.4.2 checkmate_2.0.0
[16] tensor_1.5 cluster_2.1.1 ROCR_1.0-11
[19] limma_3.46.0 globals_0.14.0 modelr_0.1.8
[22] matrixStats_0.58.0 spatstat.sparse_2.0-0 colorspace_2.0-1
[25] rvest_1.0.0 ggrepel_0.9.1 haven_2.4.1
[28] tcltk_4.0.5 crayon_1.4.1 RCurl_1.98-1.3
[31] jsonlite_1.7.2 spatstat.data_2.1-0 survival_3.2-10
[34] zoo_1.8-9 glue_1.4.2 polyclip_1.10-0
[37] gtable_0.3.0 zlibbioc_1.36.0 emmeans_1.6.0
[40] XVector_0.30.0 leiden_0.3.7 DelayedArray_0.16.3
[43] future.apply_1.7.0 SingleCellExperiment_1.12.0 BiocGenerics_0.36.1
[46] rapportools_1.0 abind_1.4-5 scales_1.1.1
[49] mvtnorm_1.1-1 DBI_1.1.1 miniUI_0.1.1.1
[52] Rcpp_1.0.6 viridisLite_0.4.0 xtable_1.8-4
[55] reticulate_1.20 spatstat.core_2.1-2 stats4_4.0.5
[58] htmlwidgets_1.5.3 httr_1.4.2 RColorBrewer_1.1-2
[61] ellipsis_0.3.2 ica_1.0-2 pkgconfig_2.0.3
[64] dbplyr_2.1.1 uwot_0.1.10 deldir_0.2-10
[67] utf8_1.2.1 tidyselect_1.1.1 rlang_0.4.11
[70] reshape2_1.4.4 later_1.2.0 munsell_0.5.0
[73] cellranger_1.1.0 tools_4.0.5 cli_2.5.0
[76] generics_0.1.0 broom_0.7.6 ggridges_0.5.3
[79] summarytools_0.9.9 fastmap_1.1.0 goftest_1.2-2
[82] fs_1.5.0 fitdistrplus_1.1-3 pander_0.6.3
[85] RANN_2.6.1 pbapply_1.4-3 nlme_3.1-152
[88] mime_0.10 monocle3_0.2.3.0 xml2_1.3.2
[91] rstudioapi_0.13 compiler_4.0.5 plotly_4.9.3
[94] png_0.1-7 spatstat.utils_2.1-0 reprex_2.0.0
[97] stringi_1.5.3 lattice_0.20-41 Matrix_1.3-2
[100] fftw_1.0-6 vctrs_0.3.8 pillar_1.6.0
[103] lifecycle_1.0.0 BiocManager_1.30.12 spatstat.geom_2.1-0
[106] lmtest_0.9-38 RcppAnnoy_0.0.18 estimability_1.3
[109] data.table_1.14.0 cowplot_1.1.1 bitops_1.0-7
[112] irlba_2.3.3 httpuv_1.6.0 GenomicRanges_1.42.0
[115] R6_2.5.0 promises_1.2.0.1 renv_0.13.2
[118] KernSmooth_2.23-18 gridExtra_2.3 IRanges_2.24.1
[121] parallelly_1.25.0 codetools_0.2-18 MASS_7.3-53.1
[124] assertthat_0.2.1 SummarizedExperiment_1.20.0 qusage_2.24.0
[127] rprojroot_2.0.2 withr_2.4.2 sctransform_0.3.2
[130] S4Vectors_0.28.1 GenomeInfoDbData_1.2.4 mgcv_1.8-34
[133] parallel_4.0.5 hms_1.0.0 grid_4.0.5
[136] rpart_4.1-15 coda_0.19-4 MatrixGenerics_1.2.1
[139] Rtsne_0.15 lubridate_1.7.10 Biobase_2.50.0
[142] shiny_1.6.0 base64enc_0.1-3
Looking at your object, it seems like the HTO assay is empty- is this what you intended? It would also help if you could share the code you ran and the associated error
Interesting, I just checked and object[["HTO"]]@counts
returns a sparse matrix on my end. If this isn't the case I might have to send you the data again (maybe a different way). I don't remember exporting the objects, maybe I didn't run the normalization prior to exporting? N9[["HTO"]]@data |> dim()
gives me [4, 11514].
All I ran was seurat <- NormalizeData(seurat, normalization.method = "CLR")
followed by seurat <- HTODemux(seurat)
Where seurat
one of the two objects I sent over.
Do you still need help with this @rschauner?
I don't think I do. I somehow worked around it.
I have encountered the sam question "Cells with Zero counts exist as a cluster". I found some of the hashtags expressed little counts. After I remove the hashtags with liitle count, the problems has been solved. Hope can help some of us.
我不认为我这样做。我以某种方式解决了它。
Hi,May I ask how do you solve this problem?
我遇到了 sam 问题“计数为零的单元格以集群形式存在”。我发现一些主题标签表示的计数很少。在我删除了带有 liitle count 的主题标签后,问题就解决了。希望可以帮助我们中的一些人。
Hi,May I ask how do you solve this problem?
我遇到了 sam 问题“计数为零的单元格以集群形式存在”。我发现一些主题标签表示的计数很少。在我删除了带有 liitle count 的主题标签后,问题就解决了。希望可以帮助我们中的一些人。
Hi,May I ask how do you solve this problem?
Hi, sorry for my late reply. for example, ten hash tags were used to labeling eight different cell clusters. Then two or more hashtags ( some hashtags may fail in labeling cells) would have few counts or far less than the other hashtags. This kind of hashtags should be remove before creating Seurat object. It means it's necessary to compute the sum of the column in Antibody Capture matrix and remove hashtags with low reads counts.
wish my answer help you!
我遇到了 sam 问题“计数为零的单元格以集群形式存在”。我发现一些主题标签表示的计数很少。在我删除了带有 liitle count 的主题标签后,问题就解决了。希望可以帮助我们中的一些人。
Hi,May I ask how do you solve this problem?
Hi, sorry for my late reply. for example, ten hash tags were used to labeling eight different cell clusters. Then two or more hashtags ( some hashtags may fail in labeling cells) would have few counts or far less than the other hashtags. This kind of hashtags should be remove before creating Seurat object. It means it's necessary to compute the sum of the column in Antibody Capture matrix and remove hashtags with low reads counts.
wish my answer help you!
Hi, May I ask how you define which hashtag should be deleted?Do we have any standard of this?
我遇到了 sam 问题“计数为零的单元格以集群形式存在”。我发现一些主题标签表示的计数很少。在我删除了带有 liitle count 的主题标签后,问题就解决了。希望可以帮助我们中的一些人。
Hi,May I ask how do you solve this problem?
Hi, sorry for my late reply. for example, ten hash tags were used to labeling eight different cell clusters. Then two or more hashtags ( some hashtags may fail in labeling cells) would have few counts or far less than the other hashtags. This kind of hashtags should be remove before creating Seurat object. It means it's necessary to compute the sum of the column in Antibody Capture matrix and remove hashtags with low reads counts. wish my answer help you!
Hi, May I ask how you define which hashtag should be deleted?Do we have any standard of this?
There is no standard for this because I only encountered this problem once. The hashtags which have few counts or far less than the other hashtags should be deleted. It's better to show us the total counts for each hashtags.
我遇到了 sam 问题“计数为零的单元格以集群形式存在”。我发现一些主题标签表示的计数很少。在我删除了带有 liitle count 的主题标签后,问题就解决了。希望可以帮助我们中的一些人。
Hi,May I ask how do you solve this problem?
Hi, sorry for my late reply. for example, ten hash tags were used to labeling eight different cell clusters. Then two or more hashtags ( some hashtags may fail in labeling cells) would have few counts or far less than the other hashtags. This kind of hashtags should be remove before creating Seurat object. It means it's necessary to compute the sum of the column in Antibody Capture matrix and remove hashtags with low reads counts. wish my answer help you!
Hi, May I ask how you define which hashtag should be deleted?Do we have any standard of this?
Hi, There is no standard for this because I only encountered this problem once. In my opinion, the hashtags which have few counts or far less than the other hashtags should be deleted. It's better to show the total number of counts for each hashtag.
It seems like this issue has popped up a few times with #3557 and #2549. I updated Seurat and Bioconductor to the latest version. I have ~30 different libraries and want to demultiplex all of them. Previously my code has worked, but due to some issues I have to filter each library individually. On at least one of the libraries I get the error "Cells with zero counts exist as a cluster."
I then decided to filter the data:
After this, I still get the same error, but have verified that there are no features with zero counts and there are no cells with no counts. What could be the problem?