Contents

1 Overview

scvi-tools is an element of the scverse toolchest for single-cell omics data analysis.

The scviR package is a very elementary approach to interfacing between R, Bioconductor and scvi-tools. The long-term plan is to illustrate several aspects of variational inference (VI) applied to single cell genomics in a way that is convenient for Bioconductor users.

The package makes use of SingleCellExperiment and anndata representations of single-cell genomic assays.

Several points should be kept in mind when using this package:

2 Installation and use

As of Feb 2023, use BiocManager to install scviR in R 4.2.2 or above:

BiocManager::install("vjcitn/scviR")

Be sure the remotes package has been installed. If you are working at a slow internet connection, it may be useful to set options(timeout=3600) when running functions

3 Session information

sessionInfo()
## R version 4.4.1 (2024-06-14)
## Platform: x86_64-pc-linux-gnu
## Running under: Ubuntu 24.04.1 LTS
## 
## Matrix products: default
## BLAS:   /home/biocbuild/bbs-3.20-bioc/R/lib/libRblas.so 
## LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.12.0
## 
## locale:
##  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
##  [3] LC_TIME=en_GB              LC_COLLATE=C              
##  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
##  [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
##  [9] LC_ADDRESS=C               LC_TELEPHONE=C            
## [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       
## 
## time zone: America/New_York
## tzcode source: system (glibc)
## 
## attached base packages:
## [1] stats4    stats     graphics  grDevices utils     datasets  methods  
## [8] base     
## 
## other attached packages:
##  [1] scater_1.34.0               scuttle_1.16.0             
##  [3] reshape2_1.4.4              ggplot2_3.5.1              
##  [5] scviR_1.6.0                 SingleCellExperiment_1.28.0
##  [7] SummarizedExperiment_1.36.0 Biobase_2.66.0             
##  [9] GenomicRanges_1.58.0        GenomeInfoDb_1.42.0        
## [11] IRanges_2.40.0              S4Vectors_0.44.0           
## [13] BiocGenerics_0.52.0         MatrixGenerics_1.18.0      
## [15] matrixStats_1.4.1           shiny_1.9.1                
## [17] basilisk_1.18.0             reticulate_1.39.0          
## [19] BiocStyle_2.34.0           
## 
## loaded via a namespace (and not attached):
##   [1] DBI_1.2.3               gridExtra_2.3           rlang_1.1.4            
##   [4] magrittr_2.0.3          compiler_4.4.1          RSQLite_2.3.7          
##   [7] mgcv_1.9-1              dir.expiry_1.14.0       png_0.1-8              
##  [10] vctrs_0.6.5             stringr_1.5.1           pkgconfig_2.0.3        
##  [13] crayon_1.5.3            fastmap_1.2.0           magick_2.8.5           
##  [16] dbplyr_2.5.0            XVector_0.46.0          labeling_0.4.3         
##  [19] utf8_1.2.4              promises_1.3.0          rmarkdown_2.28         
##  [22] UCSC.utils_1.2.0        ggbeeswarm_0.7.2        tinytex_0.53           
##  [25] purrr_1.0.2             bit_4.5.0               xfun_0.48              
##  [28] zlibbioc_1.52.0         cachem_1.1.0            beachmat_2.22.0        
##  [31] jsonlite_1.8.9          blob_1.2.4              highr_0.11             
##  [34] later_1.3.2             DelayedArray_0.32.0     BiocParallel_1.40.0    
##  [37] irlba_2.3.5.1           parallel_4.4.1          R6_2.5.1               
##  [40] stringi_1.8.4           bslib_0.8.0             RColorBrewer_1.1-3     
##  [43] limma_3.62.0            jquerylib_0.1.4         Rcpp_1.0.13            
##  [46] bookdown_0.41           knitr_1.48              splines_4.4.1          
##  [49] httpuv_1.6.15           Matrix_1.7-1            tidyselect_1.2.1       
##  [52] abind_1.4-8             yaml_2.3.10             viridis_0.6.5          
##  [55] codetools_0.2-20        curl_5.2.3              plyr_1.8.9             
##  [58] lattice_0.22-6          tibble_3.2.1            basilisk.utils_1.18.0  
##  [61] withr_3.0.2             evaluate_1.0.1          BiocFileCache_2.14.0   
##  [64] pillar_1.9.0            BiocManager_1.30.25     filelock_1.0.3         
##  [67] generics_0.1.3          munsell_0.5.1           scales_1.3.0           
##  [70] xtable_1.8-4            glue_1.8.0              pheatmap_1.0.12        
##  [73] tools_4.4.1             BiocNeighbors_2.0.0     ScaledMatrix_1.14.0    
##  [76] cowplot_1.1.3           grid_4.4.1              colorspace_2.1-1       
##  [79] nlme_3.1-166            GenomeInfoDbData_1.2.13 beeswarm_0.4.0         
##  [82] BiocSingular_1.22.0     vipor_0.4.7             cli_3.6.3              
##  [85] rsvd_1.0.5              fansi_1.0.6             S4Arrays_1.6.0         
##  [88] viridisLite_0.4.2       dplyr_1.1.4             gtable_0.3.6           
##  [91] sass_0.4.9              digest_0.6.37           SparseArray_1.6.0      
##  [94] ggrepel_0.9.6           farver_2.1.2            memoise_2.0.1          
##  [97] htmltools_0.5.8.1       lifecycle_1.0.4         httr_1.4.7             
## [100] statmod_1.5.0           mime_0.12               bit64_4.5.2