Code Monkey home page Code Monkey logo

adapt's Introduction

Paper Repository

This repository contains the code to exactly reproduce all results and figures in our paper: AdaPT: An interactive procedure for multiple testing with side information. After the acceptance of the paper, we developed an R package adaptMT that significantly improves the implementation and enriches the flexibility of AdaPT. Unless the reader just aims at reproducing the results in the paper, we recommend checking out our new repository which re-implements all the examples in the paper, though producing slightly different yet improved results.

R files

The folder R/ contains all R files:

  • AdaPT.R implements AdaPT as well as its variants (using GLM, GAM and glmnet),
  • AdaPT_mix_model/*.R implements the EM pipeline to estimate local FDR. AdaPT_mix_model.R sources all files in AdaPT_mix_model/,
  • AdaPT_mix_summary.R and AdaPT_mix_plot.R provides auxiliary functions associated with AdaPT,
  • useful_functions.R contains helper functions in developing AdaPT,
  • *_expr.R contains the code to implement all examples: GEOquery_expr.R, GEOquery_random_expr.R, Bottomly_expr.R, airway_expr.R, pasilla_expr.R, proteomics_expr.R, simul1.R and simul2.R,
  • AdaPT_expr_plot.R produces all figures in the paper,
  • Other files provide auxiliary functions.

Replicating the experiments

  • GEOquery_expr.R, Bottomly_expr.R, airway_expr.R, pasilla_expr.R and proteomics_expr.R can be executed in a laptop,
  • GEOquery_random_expr.R, simul1.R and simul2.R must be executed on a cluster. To do so, submit bash/gen_GEOquery_jobs.sh, bash/gen_jobs_simul1.sh and bash/gen_jobs_simul2.sh to a cluster, respectively.

adapt's People

Contributors

lihualei71 avatar

Stargazers

Jake Bowers avatar Fei Xia avatar

Watchers

James Cloos avatar paper2code - bot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.