Coder Social home page Coder Social logo

getzlab-pcawg-pvalue_combination's Introduction

getzlab-pvalue_combination

p-value combination for PCAWG drivers

Note: we are using parts of the original code for the Empirical Brown's method (Poole et al. Bioinformatics, 2016). For details, check the following github repo: https://github.com/IlyaLab/CombiningDependentPvaluesUsingEBM

Requirements: R-3.4, uses package reshape.

The inputs to the R script are: tissue, target, dir, sif_filepath. The outputs contain a a diagnostic QQ plot of observed vs. expected p-values for all input p-value sets, a table with combined p-values, a report that indicates which p-value sets were included and a table of combined p-values after removing some outlier methods (.combined_p_values.automatic_method_removal.txt). For details please see Rheinbay, Nielsen, Abascal, Wala, Shapira et al.

Steps:

  1. Copy ebm.R from https://github.com/IlyaLab/CombiningDependentPvaluesUsingEBM into pvalue_combination/

  2. Unarchive example_data/PCAWG_meta_Carcinoma_cds_pvalues.zip

  3. Run the following command to integrate p values for Carcinoma CDS (protein-coding) regions:

Rscript pvalue_combination/run_pvalue_combination_comparison_automatic_removal.R meta_Carcinoma CDS output/ example_data/SIF_input.txt

All results are saved under output/

Columns in .automatic_method_removal_report.txt:

sig_gene_counts: number of significant genes (q<0.1) called by the respective method

median_sig: median number of significant genes across all methods

upper_thresh: upper threshold (gene count) to call a method inflated

removed_for_inflation: 0 not removed, 1 removed for inflation

getzlab-pcawg-pvalue_combination's People

Contributors

zlin77 avatar erheinbay avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  avatar  avatar michellec avatar  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.