Git Product home page Git Product logo

f1000_workflow's Introduction

Bioconductor Workflow for Microbiome Data Analysis: from raw reads to community analyses.

Getting started

If you're new to GitHub, please note that this README is shown on the repository front page by convention and for convenience. Please click on the download or clone buttons to access the complete repository, and pay attention to any instructions about installing required packages that you may not have yet. The workflow is completely reproducible, if run from within this repository, after you have downloaded it to your computer.

Generate output documents

To generate the output pdfs from the .Rnw documents in this repository (eg):

library("knitr")
knit("PartIIphyloseq.rnw")

The three Rnw files can be executed independently.

PartIdada.rnw is the read/bioinformatics processing and is fairly time-consuming, (it can take 3-6 hours on modern laptops). In addition, an internet connection is required, as the fastq files being processed are not included in this repository but must be downloaded.

PartIIphyloseq.rnw performs a few analyses with phyloseq and is quite fast.

PartIIIanalysis.rnw performs all the statistical analyses and the machine learning components can take about 10 minutes.

Run interactively

If may be of more use to run this workflow interactively inside an R session. To do that, the .rnw files may be ignored, as all necessary code is contained in the .R script files.

Before running the commands in the .R files, your working directory must be set to the base directory of this repository (i.e. the directory containing the .rnw files):

setwd("/path/to/F1000_workflow/") # CHANGE ME

The code for the analysis portion of the workflow is broken up into a number of different component .R files: analysis-setup.R, preprocessing.R, ordinations.R, supervised.R, graph-testing.R, linear-modeling.R, hierarchical-test.R and multitable.R. After the code in the first two files (analysis-setup.R and preprocessing.R), the code in the remaining files can all be run independently of the others.

f1000_workflow's People

Contributors

benjjneb avatar jfukuyama avatar joey711 avatar krisrs1128 avatar spholmes 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.