Giter Club home page Giter Club logo

east-et-al-ras84's Introduction

RAS84 Analysis Code

This Github repo contains the code needed to download and preprocess the data, build the SVM classifier and regenerate all the figures associated with the publication RAS oncogenic activity predicts response to chemotherapy and outcome in lung adenocarcinoma

Running the code

First step, clone the repo.


git clone https://github.com/FrancisCrickInstitute/RAS84.git
cd RAS84

To run the analysis code you will need R-3.6.0 installed along with the libraries contained in renv.lock. The renv environment can be reinitialised by running R within the RAS84 directory and running renv::restore()

The Data

data/scripts contains shell scripts to download each of the dependent datasets. The paths are configured to run these scripts from within data/scripts. Raw data files are downloaded to data/downloads

There are also R scripts to preprocess the raw data and build SummarizedExperiment objects. The SE objects are written to data/objects

The Analysis Scripts

The following analysis Rmd scripts can be found in the top level of the repo.

  1. 1_build_RAS84_CCLE.Rmd - The CCLE analysis to build RAS84 from the parent signatures

  2. 2_drug_screen_GDSC_CTRP_CCLE.Rmd - The CCLE drug screen analysis

  3. 3_RAS84_patient_classification_TCGA_LUAD.Rmd - TCGA LUAD classification analysis

  4. 4_RAS84_RAG_mutation_analysis_TCGA_LUAD.Rmd - TCGA LUAD RAS Activity Group (RAG) mutation analysis

  5. 5_survival_analysis_TCGA_LUAD.Rmd - TCGA LUAD and Uppsala survival analysis

  6. 6_RAS84_pancancer_analysis_TCGA.Rmd - TCGA pancancer RAS84 analysis

  7. 7_RAS84_pancancer_survival_analysis.Rmd - TCGA pancancer RAS84 survival analysis

  8. build_SVM.R - SVM build script

All the Rmd scripts contain global variables in the first code block that set the paths to the required data resources and output paths for the figures. All the defined data resources must be downloaded and build using the download and init scripts described above before the analysis scripts can be run. All figures are written to figures/.

east-et-al-ras84's People

Contributors

phileastbioinf avatar

Stargazers

Sophie avatar

Watchers

 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.