Introduction to GenVisR
The advent of next generation sequencing (NGS) has allowed for the production of massive amounts of genomic data. There are many methods and tools available for the analysis and visualization of these data. In this module we will focus on the R package GenVisR. GenVisR offer several advantages for visualization and interpretation of genomic data:
- GenVisR is built upon ggplot2 and thus allows the user to leverage the many existing graphical functions of that package (as well as the information we’ve learned in previous modules).
- GenVisR is intended to be flexible, supporting multiple common genomic file formats, species, etc.
- GenVisR attempts to make popular, but very complex genomic visualizations much simpler to produce. It essentially offers convenience functions that allow sophisticated plots to be made from common genomic data types with just a handful of lines of code.
- GenVisR is relatively popular (in the top 20% of bioconductor downloads) and therefore benefits from a large community of users, many published examples, and a number of online tutorials.
- GenVisR is maintained by the griffithlab and is regularly updated with improvements, bug fixes, etc.
We recommend installing GenVisR from bioconductor in order to ensure the most stable version.
# Install GenVisR
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("GenVisR", version = "3.8")
#NOTE: If you have an older version of R/Bioconductor you may need to use the previous Bioconductor install method
#source("https://bioconductor.org/biocLite.R")
#biocLite("GenVisR")
# load the package into R
library(GenVisR)
More GenVisR Functions
For a full list of GenVisR functions with descriptions and examples, see the GenVisR reference manual and vignette on the Bioconductor page at https://bioconductor.org/packages/release/bioc/html/GenVisR.html.
Getting Help
- Visit GenVisR page at BioConductor
- Read GenVisR Reference Manual
- In R type
browseVignettes
to view available vignettes: Introduction, Visualizing Small Variants, and Waterfall - BioStar Tutorials: waterfall and lolliplot