Learn R Programming

Overview

The goal of genBart is to streamline the process of statistical analysis in high dimensional studies (e.g. RNA-seq and microarray) to a final and comprehensive results object that can be uploaded into the BART (Biostatistical Analysis Reporting Tool) shiny app. The app provides users with tools to interactively visualize and efficiently sift through large amounts of data and results.

The genBart package accomplishes its goal by providing a set of functions that modularize every step of the analysis workflow:

  1. Summary stats and quality control
  2. Unsupervised analysis (heat maps and cluster analysis)
  3. DGE (differential gene expression)
  4. Gene set analysis
  5. Correlation analysis

Though one strength of BART is its ability to report the entire analysis workflow in one session, it is often useful to use BART before all of the analysis is completed (e.g. viewing heat maps before any statistical analysis is run). genBart makes this possible by allowing users to easily update and/or add to existing BART result objects. Conveniently, BART will only populate with tools based on the information contained in the object generated by genBart.

Installation

You can install genBART from github with:

# install.packages("devtools")
devtools::install_github("jcardenas14/genBart")

Example

I demonstrate a simple example below of how BART can be used for unsupervised analysis. The data used for this example is available in genBart and is taken from a longitudinal microarray experiment monitoring the gene expression changes in cynomolgus macaques infected with M.tuberculosis (Skinner et al.). To speed up the hierarchical clustering step, I randomly selected a subset (1000) of the probes for the example. Please see the genBart vignette for a full analysis workflow walk-through from the same microarray study.

## Call data
library(genBart)
data(tb.expr)
data(tb.design)

# declare design information
meta <- metaData(y = tb.expr, design = tb.design, data.type = "microarray", 
                 columnname = "columnname", long = TRUE, 
                 subject.id = "monkey_id", baseline.var = "timepoint", 
                 baseline.val = 0, time.var = "timepoint", sample.id = "sample_group")
                    
# normalize data and cluster  
norm.data <- normalizeData(meta = meta, norm.method = "mean")
dendros <- clusterData(norm.data = norm.data)

# create BART result object
genFile(meta = list(meta), dendrograms = dendros, project.name = "TB Unsupervised Analysis")

Copy Link

Version

Install

install.packages('genBart')

Monthly Downloads

20

Version

1.0.1

License

GPL-2 | GPL-3

Maintainer

Jacob Cardenas

Last Published

March 13th, 2018

Functions in genBart (1.0.1)

genModScores

Generate modular (gene set) maps for plotting
metaData

Declare meta data information for downstream analysis
clusterData

Hierarchical clustering of normalized expression data
crossCorr

Cross Correlations
genFile

Generate and Update BART Result files
runBart

Run BART Shiny App
normalizeData

Data Normalization
gene.symbols

Gene Symbols
modules

Baylor Modules
genModelResults

Generate formatted results file
tb.design

Microarray design file
runQgen

Run Q-Gen (generalized QuSAGE) algorithm using gene level statistics
tb.expr

Microarray data on cynomolgus macaques infected with M. tuberculosis
tb.flow.des

Flow design file
tb.flow

Flow data on cynomolgus macaques infected with M. tuberculosis