Skip to content

szcf-weiya/SplitClusterTest

Repository files navigation

SplitClusterTest

CI codecov

An R package for

Wang, L., Lin, Y., & Zhao, H. (2024). False Discovery Rate Control via Data Splitting for Testing-after-Clustering (arXiv:2410.06451). arXiv. https://doi.org/10.48550/arXiv.2410.06451

The proposed approach addresses the double-dipping issue in testing-after-clustering tasks, particularly in single-cell data analysis, where the same data is used both for clustering (to identify cell types) and for testing (to select differentially expressed genes), which can inflate false positives.

The xkcd-style cartoon is drawn with the help of R package xkcd

🛠️ Installation

For single-cell data analysis, this package depends on Seurat. Since there are potential compatibility issue across different major versions of Seurat. We recommend Seurat v4, and it can be installed via the following command:

devtools::install_github("satijalab/seurat@v4.4.0")

then you can install our package via

devtools::install_github("szcf-weiya/SplitClusterTest")

For potential compatibility issues, you may need to install Matrix with version 1.6-5 or an older one.

➡️ See also

About

R package for "FDR Control via Data Splitting for Testing-after-Clustering (arXiv: 2410.06451)"

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages