Giter Site home page Giter Site logo

joelograsso / omicnavigatorexample Goto Github PK

View Code? Open in Web Editor NEW

This project forked from abbvie-external/omicnavigatorexample

0.0 0.0 0.0 6.04 MB

Example code to create an OmicNavigator study

Home Page: https://github.com/abbvie-external/OmicNavigator#readme

R 100.00%

omicnavigatorexample's Introduction

How to create an OmicNavigator study

This repository contains an example of how to use the OmicNavigator R package to convert an omic analysis into a study package to be explored with the OmicNavigator app. For more details, please see the User's Guide attached to the latest release.

Files:

  • setup.R - Installs the required R packages for the example

  • data/ - The input RNA-seq counts and MSigDB annotations

  • analyze.Rmd - Performs a differential expression and enrichment analysis of the RNA-seq experiment in data/. It uses limma+voom, but OmicNavigator is agnostic to how you perform your analysis. If you prefer, you could use Python or a GUI to perform the analysis, as long as you export the results. Also, the HTML produced by this Rmd is included as an external report in the final OmicNavigator study package (note: including a report file is optional).

  • results/ - The analysis results exported by analyze.Rmd

  • build.R - Builds the OmicNavigator study package from the results files that analyze.Rmd exported to results/. Installs the study package and starts the web app.

Run the code

Follow the steps below to install the dependencies, perform the analysis, and create the OmicNavigator study package. Note that the analysis results are already available in results/, so if you want you can skip running analysis.Rmd and go straight to running build.R.

  1. Install R package dependencies

    source("setup.R", local = new.env())
    
  2. Perform the differential expression analysis. This reads the input files in data/ and exports the output files to results/

    library(rmarkdown)
    render("analyze.Rmd", output_file = "results/report.html", envir = new.env())
    
  3. Create and install the OmicNavigator study package. This reads the analysis results files in results/, converts them to an OmicNavigator study package, installs the package, and starts the app.

    source("build.R")
    

Acknowledgements

The example limma+voom code was adapted from the Bioconductor workflow RNAseq123.

If you use the code, please cite:

Law CW, Alhamdoosh M, Su S et al. RNA-seq analysis is easy as 1-2-3 with limma, Glimma and edgeR [version 2; referees: 3 approved]. F1000Research 2016, 5:1408 (doi: 10.12688/f1000research.9005.2)

If you use the data, please cite:

Sheridan JM, Ritchie ME, Best SA, et al.: A pooled shRNA screen for regulators of primary mammary stem and progenitor cells identifies roles for Asap1 and Prox1. BMC Cancer. 2015; 15(1): 221.

omicnavigatorexample's People

Contributors

jdblischak avatar bengalengel 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.