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.0 alpha (2024-03-27 r86216)
## Platform: aarch64-apple-darwin20
## Running under: macOS Ventura 13.6.5
## 
## Matrix products: default
## BLAS:   /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libRblas.0.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/New_York
## tzcode source: internal
## 
## attached base packages:
## [1] stats4    stats     graphics  grDevices utils     datasets  methods  
## [8] base     
## 
## other attached packages:
##  [1] scater_1.32.0               scuttle_1.14.0             
##  [3] reshape2_1.4.4              ggplot2_3.5.0              
##  [5] scviR_1.4.0                 SingleCellExperiment_1.26.0
##  [7] SummarizedExperiment_1.34.0 Biobase_2.64.0             
##  [9] GenomicRanges_1.56.0        GenomeInfoDb_1.40.0        
## [11] IRanges_2.38.0              S4Vectors_0.42.0           
## [13] BiocGenerics_0.50.0         MatrixGenerics_1.16.0      
## [15] matrixStats_1.2.0           shiny_1.8.1                
## [17] basilisk_1.16.0             reticulate_1.35.0          
## [19] BiocStyle_2.32.0           
## 
## loaded via a namespace (and not attached):
##   [1] DBI_1.2.2                 gridExtra_2.3            
##   [3] rlang_1.1.3               magrittr_2.0.3           
##   [5] compiler_4.4.0            RSQLite_2.3.5            
##   [7] mgcv_1.9-1                dir.expiry_1.12.0        
##   [9] DelayedMatrixStats_1.26.0 png_0.1-8                
##  [11] vctrs_0.6.5               stringr_1.5.1            
##  [13] pkgconfig_2.0.3           crayon_1.5.2             
##  [15] fastmap_1.1.1             magick_2.8.3             
##  [17] dbplyr_2.5.0              XVector_0.44.0           
##  [19] labeling_0.4.3            utf8_1.2.4               
##  [21] promises_1.2.1            rmarkdown_2.26           
##  [23] UCSC.utils_1.0.0          ggbeeswarm_0.7.2         
##  [25] purrr_1.0.2               bit_4.0.5                
##  [27] xfun_0.43                 zlibbioc_1.50.0          
##  [29] cachem_1.0.8              beachmat_2.20.0          
##  [31] jsonlite_1.8.8            blob_1.2.4               
##  [33] highr_0.10                later_1.3.2              
##  [35] DelayedArray_0.30.0       BiocParallel_1.38.0      
##  [37] irlba_2.3.5.1             parallel_4.4.0           
##  [39] R6_2.5.1                  stringi_1.8.3            
##  [41] bslib_0.6.2               RColorBrewer_1.1-3       
##  [43] limma_3.60.0              jquerylib_0.1.4          
##  [45] Rcpp_1.0.12               bookdown_0.38            
##  [47] knitr_1.45                splines_4.4.0            
##  [49] httpuv_1.6.15             Matrix_1.7-0             
##  [51] tidyselect_1.2.1          abind_1.4-5              
##  [53] yaml_2.3.8                viridis_0.6.5            
##  [55] codetools_0.2-19          curl_5.2.1               
##  [57] plyr_1.8.9                lattice_0.22-6           
##  [59] tibble_3.2.1              withr_3.0.0              
##  [61] basilisk.utils_1.16.0     evaluate_0.23            
##  [63] BiocFileCache_2.12.0      pillar_1.9.0             
##  [65] BiocManager_1.30.22       filelock_1.0.3           
##  [67] generics_0.1.3            sparseMatrixStats_1.16.0 
##  [69] munsell_0.5.0             scales_1.3.0             
##  [71] xtable_1.8-4              glue_1.7.0               
##  [73] pheatmap_1.0.12           tools_4.4.0              
##  [75] BiocNeighbors_1.22.0      ScaledMatrix_1.12.0      
##  [77] cowplot_1.1.3             grid_4.4.0               
##  [79] colorspace_2.1-0          nlme_3.1-164             
##  [81] GenomeInfoDbData_1.2.12   beeswarm_0.4.0           
##  [83] BiocSingular_1.20.0       vipor_0.4.7              
##  [85] cli_3.6.2                 rsvd_1.0.5               
##  [87] fansi_1.0.6               S4Arrays_1.4.0           
##  [89] viridisLite_0.4.2         dplyr_1.1.4              
##  [91] gtable_0.3.4              sass_0.4.9               
##  [93] digest_0.6.35             SparseArray_1.4.0        
##  [95] ggrepel_0.9.5             farver_2.1.1             
##  [97] memoise_2.0.1             htmltools_0.5.8          
##  [99] lifecycle_1.0.4           httr_1.4.7               
## [101] statmod_1.5.0             mime_0.12                
## [103] bit64_4.0.5