Contents

1 Example 1: Protein Data

This data set is from protein expression data captured for 39 proteins. It has two batches and two conditions corresponding to case and control.

library(BatchQC)
data(protein_data)
data(protein_sample_info)
se_object <- BatchQC::summarized_experiment(protein_data, protein_sample_info)

2 Example 2: Signature Data

This data set is from signature data captured when activating different growth pathway genes in human mammary epithelial cells (GEO accession: GSE73628). This data consists of three batches and ten different conditions corresponding to control and nine different pathways

data(signature_data)
data(batch_indicator)
se_object <- BatchQC::summarized_experiment(signature_data, batch_indicator)

3 Example 3: Bladderbatch Data

This data set is from bladder cancer data. This dataset has 57 bladder samples with 5 batches and 3 covariate levels (cancer, biopsy, control). Batch 1 contains only cancer, 2 has cancer and controls, 3 has only controls, 4 contains only biopsy, and 5 contains cancer and biopsy. This data set is from the bladderbatch package which must be installed to use this data example set (Leek JT (2023). bladderbatch: Bladder gene expression data illustrating batch effects. R package version 1.38.0).

se_object <- BatchQC::bladder_data_upload()

Session info

## R version 4.4.0 beta (2024-04-15 r86425)
## Platform: x86_64-pc-linux-gnu
## Running under: Ubuntu 22.04.4 LTS
## 
## Matrix products: default
## BLAS:   /home/biocbuild/bbs-3.19-bioc/R/lib/libRblas.so 
## LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.10.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] stats     graphics  grDevices utils     datasets  methods   base     
## 
## other attached packages:
## [1] BatchQC_1.99.01  BiocStyle_2.31.0
## 
## loaded via a namespace (and not attached):
##   [1] RColorBrewer_1.1-3          ggdendro_0.2.0             
##   [3] jsonlite_1.8.8              magrittr_2.0.3             
##   [5] magick_2.8.3                NCmisc_1.2.0               
##   [7] farver_2.1.1                rmarkdown_2.26             
##   [9] zlibbioc_1.49.3             vctrs_0.6.5                
##  [11] memoise_2.0.1               DelayedMatrixStats_1.25.4  
##  [13] EBSeq_2.1.0                 tinytex_0.50               
##  [15] htmltools_0.5.8.1           S4Arrays_1.3.7             
##  [17] BiocNeighbors_1.21.2        SparseArray_1.3.5          
##  [19] sass_0.4.9                  KernSmooth_2.23-22         
##  [21] bslib_0.7.0                 htmlwidgets_1.6.4          
##  [23] plyr_1.8.9                  testthat_3.2.1.1           
##  [25] plotly_4.10.4               cachem_1.0.8               
##  [27] igraph_2.0.3                lifecycle_1.0.4            
##  [29] pkgconfig_2.0.3             rsvd_1.0.5                 
##  [31] Matrix_1.7-0                R6_2.5.1                   
##  [33] fastmap_1.1.1               GenomeInfoDbData_1.2.12    
##  [35] MatrixGenerics_1.15.1       digest_0.6.35              
##  [37] colorspace_2.1-0            ggnewscale_0.4.10          
##  [39] AnnotationDbi_1.65.2        S4Vectors_0.41.7           
##  [41] DESeq2_1.43.5               dqrng_0.3.2                
##  [43] irlba_2.3.5.1               crosstalk_1.2.1            
##  [45] GenomicRanges_1.55.4        RSQLite_2.3.6              
##  [47] beachmat_2.19.4             labeling_0.4.3             
##  [49] fansi_1.0.6                 httr_1.4.7                 
##  [51] abind_1.4-5                 mgcv_1.9-1                 
##  [53] compiler_4.4.0              bit64_4.0.5                
##  [55] withr_3.0.0                 BiocParallel_1.37.1        
##  [57] DBI_1.2.2                   highr_0.10                 
##  [59] gplots_3.1.3.1              MASS_7.3-60.2              
##  [61] DelayedArray_0.29.9         bluster_1.13.0             
##  [63] gtools_3.9.5                caTools_1.18.2             
##  [65] tools_4.4.0                 glue_1.7.0                 
##  [67] nlme_3.1-164                grid_4.4.0                 
##  [69] cluster_2.1.6               reshape2_1.4.4             
##  [71] generics_0.1.3              sva_3.51.0                 
##  [73] gtable_0.3.5                tidyr_1.3.1                
##  [75] data.table_1.15.4           BiocSingular_1.19.0        
##  [77] ScaledMatrix_1.11.1         metapod_1.11.1             
##  [79] utf8_1.2.4                  XVector_0.43.1             
##  [81] BiocGenerics_0.49.1         pillar_1.9.0               
##  [83] stringr_1.5.1               limma_3.59.10              
##  [85] genefilter_1.85.1           splines_4.4.0              
##  [87] dplyr_1.1.4                 lattice_0.22-6             
##  [89] survival_3.5-8              reader_1.0.6               
##  [91] bit_4.0.5                   annotate_1.81.2            
##  [93] tidyselect_1.2.1            SingleCellExperiment_1.25.1
##  [95] locfit_1.5-9.9              Biostrings_2.71.6          
##  [97] scuttle_1.13.1              knitr_1.46                 
##  [99] bookdown_0.39               blockmodeling_1.1.5        
## [101] IRanges_2.37.1              edgeR_4.1.25               
## [103] SummarizedExperiment_1.33.3 stats4_4.4.0               
## [105] xfun_0.43                   Biobase_2.63.1             
## [107] statmod_1.5.0               brio_1.1.4                 
## [109] matrixStats_1.3.0           pheatmap_1.0.12            
## [111] stringi_1.8.3               UCSC.utils_0.99.7          
## [113] lazyeval_0.2.2              yaml_2.3.8                 
## [115] evaluate_0.23               codetools_0.2-20           
## [117] RcppEigen_0.3.4.0.0         tibble_3.2.1               
## [119] BiocManager_1.30.22         cli_3.6.2                  
## [121] xtable_1.8-4                munsell_0.5.1              
## [123] jquerylib_0.1.4             Rcpp_1.0.12                
## [125] GenomeInfoDb_1.39.14        tidyverse_2.0.0            
## [127] png_0.1-8                   XML_3.99-0.16.1            
## [129] parallel_4.4.0              ggplot2_3.5.1              
## [131] blob_1.2.4                  scran_1.31.3               
## [133] sparseMatrixStats_1.15.1    bitops_1.0-7               
## [135] viridisLite_0.4.2           scales_1.3.0               
## [137] purrr_1.0.2                 crayon_1.5.2               
## [139] rlang_1.1.3                 KEGGREST_1.43.0