Skip to content

Latest commit

 

History

History
83 lines (48 loc) · 2.31 KB

README.md

File metadata and controls

83 lines (48 loc) · 2.31 KB

RoCA

Reporting of Custom Analysis

The goal of RoCA is to set up a paradigm of reproducible data analysis. It provides a framework for data analysts to conveniently re-run custom analysis using their own data and parameters. Each run will generates a self-contained output file folder and an index.html file as a summary report.

Download an example (unzip the file and open the index.html file to view report)


Quick links:

Table of contents


Use the code below to install default R packages. Please note that individual R Markdown templates might require extra packages. Read instruction of each template for details. Before start,

  • make sure that base R version 3.2.3 or newer was installed through RStudio or R Console
  • and open RStudio or R Console to start a new R session.

# install.packages(c('devtools', 'RCurl')); # if packages have not been installed
require(devtools); 
require(RCurl);

devtools::install_github("zhezhangsh/RoCAR"); # Install the RoCA package itself from GitHub

# Install default packages from Cran, GitHub, or Bioconductor, used by the RoCA package and Rmarkdown templates
# Note that individual Rmarkdown templates might require more packages
installed <- RoCA::InstallDependency(reinstall=FALSE) # Use reinstall=TRUE to force re-installing all packages
  1. Clone the whole RoCA GitHub repo

  2. Download and edit a YAML file

  1. Use the RoCA::CreateReport() function

  2. Use RStudio

  3. Use the knitr::knit() function

R Markdown in a nutshell

The R Markdown/YAML pair

Required YAML fields