Open vertesy opened 10 months ago
I did not trace it down, but it can be that its not the %NA but the absolute number of non-NA values per category that matter.
> (NrCellsByGenotype <- lapply(ls.Seurat, function(obj) {
+ obj@meta.data %>%
+ group_by(my_splitby) %>%
+ summarise(nr.cells = length(my_feature))
+ }))
$sc06.692
# A tibble: 4 × 2
Genotype.orig nr.cells
<chr> <int>
1 GT1 2046
2 GT2 4901
3 doubletsc 200
4 unassigned 25
$sc06.693
# A tibble: 5 × 2
Genotype.orig nr.cells
<chr> <int>
1 GT1 243
2 GT2 2912
3 GT3 179
4 doubletsc 26
5 unassigned 17
$sc08.325
# A tibble: 4 × 2
Genotype.orig nr.cells
<chr> <int>
1 GT1 381
2 GT2 4978
3 doubletsc 20
4 unassigned 20
$sc08.327
# A tibble: 4 × 2
Genotype.orig nr.cells
<chr> <int>
1 GT1 431
2 TSC2.p5 3268
3 doubletsc 13
4 unassigned 344
Hi - thank you for reporting this! We will look into this ASAP since this seems to be an overlooked edge case.
I use VlnPlot to for a
feature
that has NA-s. All datasets have NA-s infeatures
, but it fails on the last one.I reproduced the issue in a fresh session. You can see that VlnPlot succeeds at 55% NA values [[2]] but fails at 80% NA [[4]]. Sorry for no reprex. Don't need to fix it just wanted to report it. (Workaround na_replace in wrapper)
%NA-s in
features
persplit.by
:─ Packages ────────────────────────────────────────────────────── ! package version date (UTC) lib source abind 1.4-5 2016-07-21 [1] CRAN (R 4.3.0) assertive 0.3-6 2020-08-01 [4] CRAN (R 4.3.0) assertive.base 0.0-9 2021-02-08 [4] CRAN (R 4.3.0) VP assertive.code 0.0-3 2023-05-30 [4] CRAN (R 4.3.0) (on disk 0.0.4) assertive.data 0.0-3 2018-11-21 [4] CRAN (R 4.3.0) assertive.data.uk 0.0-2 2018-10-21 [4] CRAN (R 4.3.0) assertive.data.us 0.0-2 2018-10-21 [4] CRAN (R 4.3.0) assertive.datetimes 0.0-3 2020-07-30 [4] CRAN (R 4.3.0) assertive.files 0.0-2 2016-05-10 [4] CRAN (R 4.3.0) assertive.matrices 0.0-2 2018-11-20 [4] CRAN (R 4.3.0) assertive.models 0.0-2 2018-10-21 [4] CRAN (R 4.3.0) assertive.numbers 0.0-2 2016-05-09 [4] CRAN (R 4.3.0) assertive.properties 0.0-5 2022-04-21 [4] CRAN (R 4.3.0) assertive.reflection 0.0-5 2020-07-31 [4] CRAN (R 4.3.0) assertive.sets 0.0-3 2016-12-30 [4] CRAN (R 4.3.0) assertive.strings 0.0-3 2016-05-10 [4] CRAN (R 4.3.0) assertive.types 0.0-3 2016-12-30 [4] CRAN (R 4.3.0) assertthat 0.2.1 2019-03-21 [4] CRAN (R 4.3.0) backports 1.4.1 2021-12-13 [1] CRAN (R 4.3.0) beeswarm 0.4.0 2021-06-01 [4] CRAN (R 4.3.0) Biobase 2.60.0 2023-04-25 [1] Bioconductor BiocGenerics 0.46.0 2023-04-25 [1] Bioconductor Biostrings 2.68.1 2023-05-16 [1] Bioconductor bit 4.0.5 2022-11-15 [1] CRAN (R 4.3.0) bit64 4.0.5 2020-08-30 [1] CRAN (R 4.3.0) bitops 1.0-7 2021-04-24 [1] CRAN (R 4.3.0) brio 1.1.4 2023-12-10 [1] CRAN (R 4.3.0) broom 1.0.5 2023-06-09 [1] CRAN (R 4.3.0) cachem 1.0.8 2023-05-01 [1] CRAN (R 4.3.0) car 3.1-2 2023-03-30 [1] CRAN (R 4.3.0) carData 3.0-5 2022-01-06 [1] CRAN (R 4.3.0) caTools 1.18.2 2021-03-28 [1] CRAN (R 4.3.0) cellranger 1.1.0 2016-07-27 [1] CRAN (R 4.3.0) checkmate 2.3.0 2023-10-25 [1] CRAN (R 4.3.0) cli 3.6.2 2023-12-11 [1] CRAN (R 4.3.0) clipr 0.8.0 2022-02-22 [1] CRAN (R 4.3.0) cluster 2.1.4 2022-08-22 [4] CRAN (R 4.3.0) VP CodeAndRoll2 2.5.6 2023-11-22 [?] Github (vertesy/CodeAndRoll2@bc82002) (on disk 2.5.4) codetools 0.2-19 2023-02-01 [1] CRAN (R 4.3.0) colorout 1.2-2 2023-09-18 [1] Github (jalvesaq/colorout@79931fd) colorRamps 2.3.1 2022-05-02 [1] CRAN (R 4.3.0) colorspace 2.1-0 2023-01-23 [1] CRAN (R 4.3.0) P Connectome.tools 0.3.4 2023-12-08 [?] local (/groups/knoblich/users/abel/cbehome/GitHub/Packages/Connectome.tools) covr 3.6.2 2023-03-25 [2] CRAN (R 4.3.0) cowplot 1.1.2 2023-12-15 [1] CRAN (R 4.3.0) crayon 1.5.2 2022-09-29 [1] CRAN (R 4.3.0) data.table 1.14.8 2023-02-17 [1] CRAN (R 4.3.0) DatabaseLinke.R 1.6.0 2023-09-18 [1] Github (vertesy/DatabaseLinke.R@fd5d9b1) DelayedArray 0.26.7 2023-07-28 [2] Bioconductor deldir 1.0-9 2023-05-17 [1] CRAN (R 4.3.0) desc 1.4.3 2023-12-10 [1] CRAN (R 4.3.0) devtools 2.4.5 2022-10-11 [1] CRAN (R 4.3.0) digest 0.6.33 2023-07-07 [1] CRAN (R 4.3.0) doMC 1.3.8 2022-02-05 [4] CRAN (R 4.3.0) dotCall64 1.1-0 2023-10-17 [1] CRAN (R 4.3.0) dplyr 1.1.4 2023-11-17 [1] CRAN (R 4.3.0) DropletQC 0.0.0.9000 2023-12-29 [1] Github (powellgenomicslab/DropletQC@5d7dadc) DT 0.29 2023-08-29 [2] CRAN (R 4.3.0) ellipsis 0.3.2 2021-04-29 [1] CRAN (R 4.3.0) EnhancedVolcano 1.18.0 2023-04-25 [1] Bioconductor evaluate 0.23 2023-11-01 [1] CRAN (R 4.3.0) fansi 1.0.6 2023-12-08 [1] CRAN (R 4.3.0) farver 2.1.1 2022-07-06 [1] CRAN (R 4.3.0) fastDummies 1.7.3 2023-07-06 [1] CRAN (R 4.3.0) fastmap 1.1.1 2023-02-24 [1] CRAN (R 4.3.0) fitdistrplus 1.1-11 2023-04-25 [1] CRAN (R 4.3.0) forcats 1.0.0 2023-01-29 [1] CRAN (R 4.3.0) foreach 1.5.2 2022-02-02 [4] CRAN (R 4.3.0) formatR 1.14 2023-01-17 [1] CRAN (R 4.3.0) fs 1.6.3 2023-07-20 [1] CRAN (R 4.3.0) futile.logger 1.4.3 2016-07-10 [1] CRAN (R 4.3.0) futile.options 1.0.1 2018-04-20 [1] CRAN (R 4.3.0) future 1.33.1 2023-12-22 [1] CRAN (R 4.3.0) future.apply 1.11.0 2023-05-21 [1] CRAN (R 4.3.0) gargle 1.5.2 2023-07-20 [1] CRAN (R 4.3.0) generics 0.1.3 2022-07-05 [1] CRAN (R 4.3.0) GenomeInfoDb 1.36.4 2023-10-02 [1] Bioconductor GenomeInfoDbData 1.2.10 2023-11-22 [1] Bioconductor GenomicRanges 1.52.0 2023-04-25 [2] Bioconductor ggbeeswarm 0.7.2 2023-04-29 [2] CRAN (R 4.3.0) ggcorrplot 0.1.4.1 2023-09-05 [1] CRAN (R 4.3.0) VP ggExpress 0.9.0 2023-11-22 [?] Github (vertesy/ggExpress@b77d5bd) (on disk 0.7.5) ggExtra 0.10.1 2023-08-21 [2] CRAN (R 4.3.0) ggplot2 3.4.4 2023-10-12 [1] CRAN (R 4.3.0) ggpubr 0.6.0 2023-02-10 [1] CRAN (R 4.3.0) ggrastr 1.0.2 2023-06-01 [2] CRAN (R 4.3.0) ggrepel 0.9.4 2023-10-13 [1] CRAN (R 4.3.0) ggridges 0.5.4 2022-09-26 [1] CRAN (R 4.3.0) ggsignif 0.6.4 2022-10-13 [1] CRAN (R 4.3.0) ggVennDiagram 1.2.3 2023-08-14 [1] CRAN (R 4.3.0) globals 0.16.2 2022-11-21 [1] CRAN (R 4.3.0) glue 1.6.2 2022-02-24 [1] CRAN (R 4.3.0) goftest 1.2-3 2021-10-07 [1] CRAN (R 4.3.0) googledrive 2.1.1 2023-06-11 [1] CRAN (R 4.3.0) googlesheets4 1.1.1 2023-06-11 [1] CRAN (R 4.3.0) gplots 3.1.3 2022-04-25 [1] CRAN (R 4.3.0) gridExtra 2.3 2017-09-09 [1] CRAN (R 4.3.0) gtable 0.3.4 2023-08-21 [1] CRAN (R 4.3.0) gtools 3.9.5 2023-11-20 [1] CRAN (R 4.3.0) HGNChelper 0.8.1 2019-10-24 [1] CRAN (R 4.3.0) hms 1.1.3 2023-03-21 [1] CRAN (R 4.3.0) htmltools 0.5.7 2023-11-03 [1] CRAN (R 4.3.0) htmlwidgets 1.6.3 2023-11-22 [1] CRAN (R 4.3.0) httpuv 1.6.12 2023-10-23 [1] CRAN (R 4.3.0) httr 1.4.7 2023-08-15 [1] CRAN (R 4.3.0) ica 1.0-3 2022-07-08 [1] CRAN (R 4.3.0) igraph 1.5.1 2023-08-10 [1] CRAN (R 4.3.0) IRanges 2.34.1 2023-06-22 [1] Bioconductor irlba 2.3.5.1 2022-10-03 [1] CRAN (R 4.3.0) VP isoENV 0.2.0 2023-11-13 [?] Github (vertesy/isoENV@9ad5d1c) (on disk 0.1.1) iterators 1.0.14 2022-02-05 [4] CRAN (R 4.3.0) job 0.3.0 2021-06-04 [1] CRAN (R 4.3.0) jsonlite 1.8.8 2023-12-04 [1] CRAN (R 4.3.0) KernSmooth 2.23-22 2023-07-10 [2] CRAN (R 4.3.0) VP knitr 1.42 2023-10-30 [4] CRAN (R 4.3.0) (on disk 1.45) lambda.r 1.2.4 2019-09-18 [1] CRAN (R 4.3.0) later 1.3.1 2023-05-02 [1] CRAN (R 4.3.0) lattice 0.21-8 2023-04-05 [2] CRAN (R 4.3.0) lazyeval 0.2.2 2019-03-15 [1] CRAN (R 4.3.0) leiden 0.4.3.1 2023-11-17 [1] CRAN (R 4.3.0) lifecycle 1.0.4 2023-11-07 [1] CRAN (R 4.3.0) listenv 0.9.0 2022-12-16 [1] CRAN (R 4.3.0) lmtest 0.9-40 2022-03-21 [1] CRAN (R 4.3.0) lubridate 1.9.3 2023-09-27 [1] CRAN (R 4.3.0) magrittr 2.0.3 2022-03-30 [1] CRAN (R 4.3.0) VP MarkdownHelpers 1.0.4 2023-11-22 [?] Github (vertesy/MarkdownHelpers@458fdf3) (on disk 0.2.8) VP MarkdownReports 4.7.0 2023-11-22 [?] Github (vertesy/Markdownreports@a3c87f9) (on disk 4.5.9) MASS 7.3-60 2023-05-04 [2] CRAN (R 4.3.0) Matrix 1.6-3 2023-11-14 [1] CRAN (R 4.3.0) MatrixGenerics 1.12.3 2023-07-30 [1] Bioconductor matrixStats 1.2.0 2023-12-11 [1] CRAN (R 4.3.0) mclust 6.0.1 2023-11-15 [1] CRAN (R 4.3.0) memoise 2.0.1 2021-11-26 [1] CRAN (R 4.3.0) mime 0.12 2021-09-28 [1] CRAN (R 4.3.0) miniUI 0.1.1.1 2018-05-18 [1] CRAN (R 4.3.0) munsell 0.5.0 2018-06-12 [1] CRAN (R 4.3.0) NCmisc 1.2.0 2022-10-17 [4] CRAN (R 4.3.0) P NestedMultiplexer 0.3.1 2023-12-08 [?] Github (vertesy/NestedMultiplexerer@cba68d3) nlme 3.1-163 2023-08-09 [2] CRAN (R 4.3.0) openxlsx 4.2.5.2 2023-02-06 [1] CRAN (R 4.3.0) VP PackageTools 0.6.0 2023-12-08 [?] Github (vertesy/PackageTools@1d12627) (on disk 0.5.0) parallelly 1.36.0 2023-05-26 [1] CRAN (R 4.3.0) patchwork 1.1.3 2023-08-14 [1] CRAN (R 4.3.0) pbapply 1.7-2 2023-06-27 [1] CRAN (R 4.3.0) pheatmap 1.0.12 2019-01-04 [1] CRAN (R 4.3.0) pillar 1.9.0 2023-03-22 [1] CRAN (R 4.3.0) pkgbuild 1.4.3 2023-12-10 [1] CRAN (R 4.3.0) pkgconfig 2.0.3 2019-09-22 [1] CRAN (R 4.3.0) pkgload 1.3.3 2023-09-22 [1] CRAN (R 4.3.0) pkgnet 0.4.2 2021-12-23 [1] CRAN (R 4.3.0) plotly 4.10.3 2023-10-21 [1] CRAN (R 4.3.0) plyr 1.8.9 2023-10-02 [1] CRAN (R 4.3.0) png 0.1-8 2022-11-29 [1] CRAN (R 4.3.0) polyclip 1.10-6 2023-09-27 [1] CRAN (R 4.3.0) pracma 2.4.4 2023-11-10 [1] CRAN (R 4.3.0) presto 1.0.0 2024-01-02 [1] Github (immunogenomics/presto@31dc97f) prettycode 1.1.0 2019-12-16 [1] CRAN (R 4.3.0) princurve 2.1.6 2021-01-18 [1] CRAN (R 4.3.0) profvis 0.3.8 2023-05-02 [1] CRAN (R 4.3.0) progressr 0.14.0 2023-08-10 [1] CRAN (R 4.3.0) promises 1.2.1 2023-08-10 [1] CRAN (R 4.3.0) purrr 1.0.2 2023-08-10 [1] CRAN (R 4.3.0) qs 0.25.5 2023-02-22 [1] CRAN (R 4.3.0) R.methodsS3 1.8.2 2022-06-13 [1] CRAN (R 4.3.0) R.oo 1.25.0 2022-06-12 [1] CRAN (R 4.3.0) R.utils 2.12.3 2023-11-18 [1] CRAN (R 4.3.0) R6 2.5.1 2021-08-19 [1] CRAN (R 4.3.0) ragg 1.2.6 2023-10-10 [1] CRAN (R 4.3.0) RANN 2.6.1 2019-01-08 [1] CRAN (R 4.3.0) RApiSerialize 0.1.2 2022-08-25 [1] CRAN (R 4.3.0) RColorBrewer 1.1-3 2022-04-03 [1] CRAN (R 4.3.0) Rcpp 1.0.11 2023-07-06 [1] CRAN (R 4.3.0) RcppAnnoy 0.0.21 2023-07-02 [1] CRAN (R 4.3.0) RcppHNSW 0.5.0 2023-09-19 [1] CRAN (R 4.3.0) RcppParallel 5.1.7 2023-02-27 [4] CRAN (R 4.3.0) RCurl 1.98-1.13 2023-11-02 [1] CRAN (R 4.3.0) readr 2.1.4 2023-02-10 [1] CRAN (R 4.3.0) P ReadWriter 1.5.3 2023-12-08 [?] Github (vertesy/ReadWriter@91373c4) remotes 2.4.2.1 2023-07-18 [1] CRAN (R 4.3.0) renv 1.0.2 2023-08-15 [2] CRAN (R 4.3.0) reshape2 1.4.4 2020-04-09 [1] CRAN (R 4.3.0) reticulate 1.32.0 2023-09-11 [1] CRAN (R 4.3.0) rex 1.2.1 2021-11-26 [4] CRAN (R 4.3.0) rlang 1.1.2 2023-11-04 [1] CRAN (R 4.3.0) rmarkdown 2.25 2023-09-18 [1] CRAN (R 4.3.0) ROCR 1.0-11 2020-05-02 [1] CRAN (R 4.3.0) rprojroot 2.0.4 2023-11-05 [1] CRAN (R 4.3.0) RSpectra 0.16-1 2022-04-24 [1] CRAN (R 4.3.0) rstatix 0.7.2 2023-02-01 [1] CRAN (R 4.3.0) rstudioapi 0.15.0 2023-07-07 [1] CRAN (R 4.3.0) Rtsne 0.16 2022-04-17 [1] CRAN (R 4.3.0) RVenn 1.1.0 2019-07-18 [1] CRAN (R 4.3.0) VP S4Arrays 1.0.6 2023-10-24 [2] Bioconductor (on disk 1.2.0) S4Vectors 0.38.2 2023-09-22 [1] Bioconductor scales 1.3.0 2023-11-28 [1] CRAN (R 4.3.0) scattermore 1.2 2023-06-12 [1] CRAN (R 4.3.0) sctransform 0.4.1 2023-10-19 [1] CRAN (R 4.3.0) sessioninfo 1.2.2 2021-12-06 [1] CRAN (R 4.3.0) Seurat 5.0.1 2023-11-17 [1] CRAN (R 4.3.0) VP Seurat.utils 2.5.0 2023-12-08 [?] Github (vertesy/Seurat.utils@6e6a370) (on disk 2.4.3) SeuratObject 5.0.1 2023-11-17 [1] CRAN (R 4.3.0) shiny 1.8.0 2023-11-17 [1] CRAN (R 4.3.0) SingleCellExperiment 1.22.0 2023-04-25 [2] Bioconductor sm 2.2-5.7.1 2022-07-04 [1] CRAN (R 4.3.0) SoupX 1.6.2 2022-11-01 [1] CRAN (R 4.3.0) sp 2.1-1 2023-10-16 [1] CRAN (R 4.3.0) spam 2.10-0 2023-10-23 [1] CRAN (R 4.3.0) sparseMatrixStats 1.12.2 2023-07-02 [1] Bioconductor spatstat.data 3.0-3 2023-10-24 [1] CRAN (R 4.3.0) spatstat.explore 3.2-3 2023-09-07 [1] CRAN (R 4.3.0) spatstat.geom 3.2-7 2023-10-20 [1] CRAN (R 4.3.0) spatstat.random 3.1-6 2023-09-09 [1] CRAN (R 4.3.0) spatstat.sparse 3.0-3 2023-10-24 [1] CRAN (R 4.3.0) spatstat.utils 3.0-4 2023-10-24 [1] CRAN (R 4.3.0) stringdist 0.9.10 2022-11-07 [4] CRAN (R 4.3.0) stringfish 0.15.8 2023-05-30 [1] CRAN (R 4.3.0) stringi 1.8.3 2023-12-11 [1] CRAN (R 4.3.0) stringr 1.5.1 2023-11-14 [1] CRAN (R 4.3.0) SummarizedExperiment 1.30.2 2023-06-06 [2] Bioconductor survival 3.5-7 2023-08-14 [2] CRAN (R 4.3.0) systemfonts 1.0.5 2023-10-09 [1] CRAN (R 4.3.0) tensor 1.5 2012-05-05 [1] CRAN (R 4.3.0) testthat 3.2.1 2023-12-02 [1] CRAN (R 4.3.0) textshaping 0.3.7 2023-10-09 [1] CRAN (R 4.3.0) tibble 3.2.1 2023-03-20 [1] CRAN (R 4.3.0) tictoc 1.2 2023-04-23 [1] CRAN (R 4.3.0) tidyr 1.3.0 2023-01-24 [1] CRAN (R 4.3.0) tidyselect 1.2.0 2022-10-10 [1] CRAN (R 4.3.0) tidyverse 2.0.0 2023-02-22 [1] CRAN (R 4.3.0) timechange 0.2.0 2023-01-11 [1] CRAN (R 4.3.0) tzdb 0.4.0 2023-05-12 [1] CRAN (R 4.3.0) urlchecker 1.0.1 2021-11-30 [1] CRAN (R 4.3.0) usethis 2.2.2 2023-07-06 [1] CRAN (R 4.3.0) utf8 1.2.4 2023-10-22 [1] CRAN (R 4.3.0) VP UVI.tools 1.3.4 2023-12-08 [?] local (/groups/knoblich/users/abel/cbehome/GitHub/Packages/UVI.tools) (on disk 1.3.2) uwot 0.1.16 2023-06-29 [1] CRAN (R 4.3.0) vctrs 0.6.5 2023-12-01 [1] CRAN (R 4.3.0) VennDiagram 1.7.3 2022-04-12 [1] CRAN (R 4.3.0) vioplot 0.4.0 2022-12-09 [1] CRAN (R 4.3.0) vipor 0.4.5 2017-03-22 [4] CRAN (R 4.3.0) viridisLite 0.4.2 2023-05-02 [1] CRAN (R 4.3.0) visNetwork 2.1.2 2022-09-29 [4] CRAN (R 4.3.0) vroom 1.6.4 2023-10-02 [1] CRAN (R 4.3.0) withr 2.5.2 2023-10-30 [1] CRAN (R 4.3.0) VP xfun 0.37 2023-11-01 [4] CRAN (R 4.3.0) (on disk 0.41) xtable 1.8-4 2019-04-21 [1] CRAN (R 4.3.0) P XVector 0.40.0 2023-04-25 [2] Bioconductor zip 2.3.0 2023-04-17 [1] CRAN (R 4.3.0) P zlibbioc 1.46.0 2023-04-25 [2] Bioconductor zoo 1.8-12 2023-04-13 [1] CRAN (R 4.3.0)
[1] /users/abel.vertesy/R/x86_64-pc-linux-gnu-library/4.3 [2] /software/f2022/software/r-bundle-bioconductor/3.17-foss-2022b-r-4.3.0 [3] /software/f2022/software/arrow-r/12.0.0-foss-2022b-r-4.3.0 [4] /software/f2022/software/r/4.3.0-foss-2022b/lib64/R/library
V ── Loaded and on-disk version mismatch. P ── Loaded and on-disk path mismatch.