Authors: Salman Fawad, Alan Murphy, Yunning Yuan, Hiranyamaya (Hiru) Dash, Nathan Skene
Updated: Oct-07-2025
The poweranalysis R package is designed to run robust power analysis for differential gene expression in scRNA-seq studies and provides tools to estimate the optimal number of samples and cells needed to achieve reliable power levels.
Wraps work from this repository into an R package.
To install:
devtools::install_github("neurogenomics/Power_Analysis")
Load:
UK Dementia Research Institute
Department of Brain Sciences
Faculty of Medicine
Imperial College London
GitHub
utils::sessionInfo()
## R version 4.5.1 (2025-06-13)
## Platform: x86_64-pc-linux-gnu
## Running under: Ubuntu 24.04.3 LTS
##
## Matrix products: default
## BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
## LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.26.so; LAPACK version 3.12.0
##
## locale:
## [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
## [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
## [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: UTC
## tzcode source: system (glibc)
##
## attached base packages:
## [1] stats graphics grDevices utils datasets methods base
##
## other attached packages:
## [1] rmarkdown_2.30
##
## loaded via a namespace (and not attached):
## [1] gtable_0.3.6 jsonlite_2.0.0 renv_1.1.5
## [4] dplyr_1.1.4 compiler_4.5.1 BiocManager_1.30.26
## [7] tidyselect_1.2.1 rvcheck_0.2.1 scales_1.4.0
## [10] yaml_2.3.10 fastmap_1.2.0 here_1.0.2
## [13] ggplot2_4.0.0 R6_2.6.1 generics_0.1.4
## [16] knitr_1.50 yulab.utils_0.2.1 tibble_3.3.0
## [19] desc_1.4.3 dlstats_0.1.7 rprojroot_2.1.1
## [22] pillar_1.11.1 RColorBrewer_1.1-3 rlang_1.1.6
## [25] badger_0.2.5 xfun_0.53 fs_1.6.6
## [28] S7_0.2.0 cli_3.6.5 magrittr_2.0.4
## [31] rworkflows_1.0.6 digest_0.6.37 grid_4.5.1
## [34] rappdirs_0.3.3 lifecycle_1.0.4 vctrs_0.6.5
## [37] evaluate_1.0.5 glue_1.8.0 data.table_1.17.8
## [40] farver_2.1.2 tools_4.5.1 pkgconfig_2.0.3
## [43] htmltools_0.5.8.1