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.3.0 (2023-04-21)
## Platform: aarch64-apple-darwin20 (64-bit)
## Running under: macOS Ventura 13.3.1
## 
## Matrix products: default
## BLAS:   /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRblas.0.dylib 
## LAPACK: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRlapack.dylib;  LAPACK version 3.11.0
## 
## locale:
## [1] C/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.29.0               scuttle_1.11.0             
##  [3] reshape2_1.4.4              ggplot2_3.4.2              
##  [5] scviR_1.1.0                 SingleCellExperiment_1.23.0
##  [7] SummarizedExperiment_1.31.1 Biobase_2.61.0             
##  [9] GenomicRanges_1.53.1        GenomeInfoDb_1.37.1        
## [11] IRanges_2.35.1              S4Vectors_0.39.1           
## [13] BiocGenerics_0.47.0         MatrixGenerics_1.13.0      
## [15] matrixStats_1.0.0           shiny_1.7.4                
## [17] basilisk_1.13.1             BiocStyle_2.29.0           
## 
## loaded via a namespace (and not attached):
##   [1] DBI_1.1.3                 bitops_1.0-7             
##   [3] gridExtra_2.3             rlang_1.1.1              
##   [5] magrittr_2.0.3            compiler_4.3.0           
##   [7] RSQLite_2.3.1             mgcv_1.8-42              
##   [9] dir.expiry_1.9.0          DelayedMatrixStats_1.23.0
##  [11] png_0.1-8                 vctrs_0.6.2              
##  [13] stringr_1.5.0             pkgconfig_2.0.3          
##  [15] crayon_1.5.2              fastmap_1.1.1            
##  [17] magick_2.7.4              dbplyr_2.3.2             
##  [19] XVector_0.41.1            ellipsis_0.3.2           
##  [21] labeling_0.4.2            utf8_1.2.3               
##  [23] promises_1.2.0.1          rmarkdown_2.22           
##  [25] ggbeeswarm_0.7.2          purrr_1.0.1              
##  [27] bit_4.0.5                 xfun_0.39                
##  [29] zlibbioc_1.47.0           cachem_1.0.8             
##  [31] beachmat_2.17.8           jsonlite_1.8.5           
##  [33] blob_1.2.4                highr_0.10               
##  [35] later_1.3.1               DelayedArray_0.27.5      
##  [37] BiocParallel_1.35.2       irlba_2.3.5.1            
##  [39] parallel_4.3.0            R6_2.5.1                 
##  [41] stringi_1.7.12            RColorBrewer_1.1-3       
##  [43] bslib_0.5.0               limma_3.57.4             
##  [45] reticulate_1.30           jquerylib_0.1.4          
##  [47] Rcpp_1.0.10               bookdown_0.34            
##  [49] knitr_1.43                splines_4.3.0            
##  [51] httpuv_1.6.11             Matrix_1.5-4.1           
##  [53] tidyselect_1.2.0          yaml_2.3.7               
##  [55] viridis_0.6.3             codetools_0.2-19         
##  [57] curl_5.0.1                plyr_1.8.8               
##  [59] lattice_0.21-8            tibble_3.2.1             
##  [61] withr_2.5.0               basilisk.utils_1.13.1    
##  [63] evaluate_0.21             BiocFileCache_2.9.0      
##  [65] pillar_1.9.0              BiocManager_1.30.21      
##  [67] filelock_1.0.2            generics_0.1.3           
##  [69] rprojroot_2.0.3           RCurl_1.98-1.12          
##  [71] sparseMatrixStats_1.13.0  munsell_0.5.0            
##  [73] scales_1.2.1              xtable_1.8-4             
##  [75] glue_1.6.2                pheatmap_1.0.12          
##  [77] tools_4.3.0               BiocNeighbors_1.19.0     
##  [79] ScaledMatrix_1.9.1        cowplot_1.1.1            
##  [81] grid_4.3.0                colorspace_2.1-0         
##  [83] nlme_3.1-162              GenomeInfoDbData_1.2.10  
##  [85] beeswarm_0.4.0            BiocSingular_1.17.0      
##  [87] vipor_0.4.5               cli_3.6.1                
##  [89] rsvd_1.0.5                fansi_1.0.4              
##  [91] S4Arrays_1.1.4            viridisLite_0.4.2        
##  [93] dplyr_1.1.2               gtable_0.3.3             
##  [95] sass_0.4.6                digest_0.6.31            
##  [97] SparseArray_1.1.10        ggrepel_0.9.3            
##  [99] farver_2.1.1              memoise_2.0.1            
## [101] htmltools_0.5.5           lifecycle_1.0.3          
## [103] here_1.0.1                httr_1.4.6               
## [105] mime_0.12                 bit64_4.0.5