GithubHelp home page GithubHelp logo

hiuyu / genvisr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from griffithlab/genvisr

0.0 2.0 0.0 23.48 MB

Genome data visualizations

License: Creative Commons Zero v1.0 Universal

R 100.00%

genvisr's Introduction

GenVisR

Intuitively visualizing and interpreting data from high-throughput genomic technologies continues to be challenging. GenVisr (Genomic Visualizations in R) attempts to alleviate this burden by providing highly customizable publication-quality graphics focused primarily on a cohort level (i.e., multiple samples/patients). GenVisr attempts to maintain a high degree of flexibility while leveraging the abilities of ggplot2 and bioconductor to achieve this goal.

Installation Instructions

Note requires R >= 3.2.1, see Description file for a full list of dependencies

  • Install devtools
install.packages("devtools")
  • Install Bioconductor dependencies
source("http://bioconductor.org/biocLite.R")
biocLite(c("AnnotationDbi", "biomaRt", "Biostrings", "GenomicFeatures", "GenomicRanges", "Rsamtools"))
  • It is suggested but not required to install knitr and rmarkdown for vignette creation
install.packages(c("rmarkdown", "knitr"))
  • Install GenVisR
devtools::install_github("griffithlab/GenVisR")

Tips for developers

  • It is recommended to use Rstudio for development, Clone the repo and open the "GGgenome.Rproj" folder in Rstudio.
  • It is necessary to manual install all packages (since you are cloning and building, not installing), all packages within the imports, Depends, and Suggests flags in the "DESCRIPTION" file (~/GenVisR/DESCRIPTION) should be installed! The r-package devtools should be installed as well!
  • Build and Reload the package at this step (shorcut: Shift+Cmd+B)
  • GenVisR uses roxygen2 for documentation, to update the Reference Manuscript edit the roxygen2 flags (i.e. @param, @details, etc.) in the code. These are within the R function files in ~/GenVisR/R/, Then run devtools::document().
  • To update the vignette edit the R markdown file in the vignettes subdirectory (~/GenVisR/vignettes/GenVisR_intro.Rmd) and press the knit button in Rstudio
  • Code for GenVisR is within the R subdirectory (~/GenVisR/R/), make changes there. Be sure to build and reload the package from Rstudio to test changes (Rstudio -> Build -> Build & Reload || Shift+CMD+B)
  • test cases are in the test subdirectory (~/GenVisR/tests/testthat/), tests must be named with the character string "test" in the beginning of the name (i.e. for the waterfall function the test file would look like test-waterfall.R). To run tests run devtools::test()

Coverage Status

genvisr's People

Contributors

zlskidmore avatar ahwagner avatar malachig avatar obigriffith avatar gatoravi avatar

Watchers

James Cloos avatar  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.