Skip to content

Benchmarking methods for differential detection analyses

Notifications You must be signed in to change notification settings

statOmics/DD_benchmarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Differential detection benchmark project

This repository contains the code associated with our differential detection benchmark paper.

Installing dependencies

The package/ directory contains a helper package to provide code used throughout the project. This can be installed from the command line with

R CMD INSTALL package

In addition, a renv environment is provided, specifying all dependencies and their versions to run the analyses. To install the dependencies, run this in an R console:

renv::restore()

Downloading raw data

Lupus data

The Lupus data from Perez et al. (2021) can be downloaded from GEO using accession number GSE174188.

Download the GSE174188_CLUES1_adjusted.h5ad.gz file and place it in the data-raw/ directory under benchmarks/lupus/.

COVID data

The COVID dataset from Stephenson et al. (2021) should not be downloaded manually, as it will be downloaded automatically when running the COVID benchmarks.

Running the benchmarks

The benchmarks/ folder contains the following benchmarks:

  • lupus/: benchmarks on the Lupus data
  • lupus-n_patients/: benchmarking the effect of the number of subjects using the Lupus data
  • covid/: benchmarks on the COVID data

Each subfolder is accompanied by R scripts in a scripts/ folder and R Markdown files in the analysis/ folder. Makefiles are provided to control the order in which the scripts should be run.

A master Makefile in the root of this repository is also provided to run each of the benchmarks. From the command line at the root of this repository, run

make lupus
make lupus-n_patients # can only be run after running `make lupus` first
make stagewise # can only be run after running `make lupus` and `make lupus-n_patients` first
make covid

to run each of the respective benchmarks. Or simply

make benchmarks

to run them all in one go.

Note that this will take a considerable amount of time and computational resources. It is recommended to run this on an HPC instance.

After running all the benchmarks, or downloading the benchmark results from ZENODO, the figures from our manuscript and supplementary materials can be easily reproduced by running

make figures

This will create a figures folder populated with all the manuscript figures. The script will take approximately 20 minutes to run.

About

Benchmarking methods for differential detection analyses

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages