Skip to content
naulon

No retraction, correction or concern found when last checked on Oct 18, 2026.

GenVisR: Genomic Visualizations in R

Zachary L. Skidmore, Alex H. Wagner, Robert Lesurf and 4 more

Bioinformatics · 2016 · CC BY

doi:10.1093/bioinformatics/btw325

Abstract

Summary: Visualizing and summarizing data from genomic studies continues to be a challenge. Here, we introduce the GenVisR package to addresses this challenge by providing highly customizable, publication-quality graphics focused on cohort level genome analyses. GenVisR provides a rapid and easy-to-use suite of genomic visualization tools, while maintaining a high degree of flexibility by leveraging the abilities of ggplot2 and Bioconductor. Availability and Implementation: GenVisR is an R package available via Bioconductor (https://bioconductor.org/packages/GenVisR) under GPLv3. Support is available via GitHub (https://github.com/griffithlab/GenVisR/issues) and the Bioconductor support website. Contacts: obigriffith@wustl.edu or mgriffit@wustl.edu Supplementary information: Supplementary data are available at Bioinformatics online.

Full text

From PubMed Central, U.S. National Library of Medicine, as current on Oct 18, 2026. Paragraph numbers are ours, so an answer can point at one.

1 Introduction

The continued development of massively parallel sequencing technologies has led to an exponential growth in the amount of genomic data produced. This growth has in turn enabled scientists to investigate increasingly large, cohort-level genomic datasets. Generating intuitive visualizations is a critical component in recognizing patterns and investigating underlying biological properties in cohorts under study. A significant bottleneck exists, however, between data generation and subsequent visualization and interpretation. Additionally, generating publication-quality figures for effective communication of these data typically requires ad hoc methods such as manual creation or extensive graphic manipulation with third party software. This process is both time intensive and difficult to automate/reproduce. Further, the absence of software supporting multiple species can make this process even more demanding. Here, we present GenVisR, a Bioconductor package to address these issues. GenVisR provides a user-friendly, flexible and comprehensive suite of tools for visualizing complex genomic data in three categories (small variants, copy number alterations and data quality) for multiple species of interest.

2 Visualization of small variants

The identification of small variants (SNVs and indels) within a genomic context is of paramount importance for the elucidation of the genetic basis of disease. Numerous tools and resources have been created to identify variants in sequencing data. Conversely, few tools exist to visually display and summarize these variants across sample cohorts. Given a gene of interest, it is often useful to view variant occurrences in the context of the translated protein product. A variety of options exist to achieve this; however tools that offer both automation and flexibility to perform this task are lacking (Supplementary Table S1). The function lolliplot was developed to allow for precise control over visualization options (Fig. 1A). This includes the ability to choose Ensembl annotation databases for protein domain displays and to plot multiple tracks of mutations above and below the protein representation. Another common objective of genomic studies is to identify variant recurrence across multiple genes within a cohort. The GenVisR function waterfall was developed to calculate and rapidly illustrate the mutational burden of variants on both a gene and sample level, and further differentiates between variant types (Fig. 1B). Mutually exclusive genomic events at the variant level are emphasized in this visualization by arranging samples in a hierarchical fashion such that samples with mutations in the most recurrently mutated genes are ranked first. Finally, it is often informative to investigate the rate of transition and transversion mutations observed across a set of cases. For example, lung tumors originating from patients with a history of tobacco smoke exposure display a pattern of enrichment for C to A or G to T transversions. The function TvTi (transversion/transition) was developed to improve recognition of these types of patterns within a cohort.

3 Visualization of copy number alterations

Copy number alterations occurring within the genome are implicated in a variety of diseases. The function GenCov illustrates amplifications and deletions across one or more samples in a genomic region of interest (Fig. 1C). A key feature of GenCov is the effective use of plot space, especially for large regions of interest, via the differential compression of various features (introns, exons, UTR) within the region of interest. For a broader view the function cnView plots copy number calls, and the corresponding ideogram, for an individual sample at the chromosome level. The function cnSpec displays amplifications and deletions on a still larger scale via copy number segments calls. This information is displayed as a heat map arranged in a grid indexed by chromosomes and samples. Alternatively, cnFreq displays the frequency of samples within a cohort that are observed to have copy number gains or losses at specific genomic loci. In addition to copy number changes, loss of heterozygosity (LOH) often plays an important role in genomic diseases. For example, in acute myeloid leukemia copy neutral LOH has been associated with shorter complete remission and worse overall survival. The function lohSpec displays LOH regions observed within a cohort (Fig. 1D) by plotting a sliding window mean difference in variant allele fractions for tumor and normal germline variants.

4 Visualization of data quality

In genomic studies, the quality of sequencing data is of critical importance to the proper interpretation of observed variations. Therefore, we provide a suite of functions focused on data quality assessment and visualization. The first of these, covBars, provides a framework for displaying the sequencing coverage achieved for targeted bases in a study (Fig. 1E). A second function, compIdent, aids in the identification of mix-ups among samples that are thought to originate from the same individual (Fig. 1F). This is achieved by displaying the variant allele fraction of SNPs in relation to each sample. By default, 24 biallelic ‘identity SNPs’ are used to determine sample identity.

5 Example usage

GenVisR was developed with the naïve R user in mind. Functions are well documented and have reasonable defaults set for optional parameters. To illustrate, creating Figure 1B was as simple as executing the waterfall function call on a standard MAF (version 2.4) file containing variant mutation data and choosing which genes to plot:genes = c(“PIK3CA”, “TP53”, “USH2”, “MLL3”, “BRCA1”)GenVisR::waterfall(x=maf_file, plotGenes=genes)

genes = c(“PIK3CA”, “TP53”, “USH2”, “MLL3”, “BRCA1”)

GenVisR::waterfall(x=maf_file, plotGenes=genes)

The MAF file format originally developed for The Cancer Genome Atlas project (Cancer Genome Atlas Research Network, 2008) is the default file format accepted by waterfall. This format was chosen based on its simplicity and accessibility. A number of resources exist to convert VCF files common to most variant callers to MAF format. In the interest of maintaining flexibility, the waterfall and other GenVisR functions are able to accept alternative file types as input.

6 Conclusion

GenVisR provides features and functions for many popular genomic visualizations not otherwise available in a single convenient package (Table S1). By leveraging the abilities of ggplot2 it confers a level of customizability not previously possible. Virtually any aspect of a plot can be changed simply by adding an additional layer onto the graphical object. Thus, GenVisR allows for publication quality figures with a minimal amount of required input and data manipulation while maintaining a high degree of flexibility and customizability.

References 20

  1. 1.

    Beroukhim R. (2010 ) The landscape of somatic copy-number alteration across human cancers. Nature, 463, 899–905.

    Not in our library10.1038/nature08822

  2. 2.

    Cancer Genome Atlas Network. (2012 ) Comprehensive molecular portraits of human breast tumours. Nature, 490, 61–70.

    Not in our library10.1038/nature11412

  3. 3.

    Cancer Genome Atlas Research Network. (2008 ) Comprehensive genomic characterization defines human glioblastoma genes and core pathways. Nature, 455, 1061–1068.

    Not in our library10.1038/nature07385

  4. 4.
  5. 5.

    Good B.M. (2014 ) Organizing knowledge to enable personalization of medicine in cancer. Genome Biol., 15, 438.

    Not in our library10.1186/s13059-014-0438-7

  6. 6.

    Govindan R. (2012 ) Genomic landscape of non-small cell lung cancer in smokers and never-smokers. Cell, 150, 1121–1134.

    Not in our library10.1016/j.cell.2012.08.024

  7. 7.

    Griffith M. (2015 ) Genome Modeling System: A Knowledge Management Platform for Genomics. PLoS Comput. Biol., 11, e1004274.

    Not in our library10.1371/journal.pcbi.1004274

  8. 8.

    Gronseth C.M. (2015 ) Prognostic significance of acquired copy-neutral loss of heterozygosity in acute myeloid leukemia. Cancer, 121, 2900–2908.

    Not in our library10.1002/cncr.29475

  9. 9.

    Kodama Y. (2012 ) The Sequence Read Archive: explosive growth of sequencing data. Nucleic Acids Res., 40, D54–D56.

    Not in our library10.1093/nar/gkr854

  10. 10.

    Krysiak K. (2016 ) A genomic analysis of Philadelphia chromosome-negative AML arising in patients with CML. Blood Cancer J., 6, e413.

    Not in our library10.1038/bcj.2016.18

  11. 11.

    Leiserson M.D. (2015 ) MAGI: visualization and collaborative annotation of genomic aberrations. Nat. Methods, 12, 483–484.

    Not in our library10.1038/nmeth.3412

  12. 12.

    Ma C.X. (2016 ) A phase I trial of BKM120 (Buparlisib) in combination with fulvestrant in postmenopausal women with estrogen receptor-positive metastatic breast cancer. Clin. Cancer Res., 22, 1583–1591.

    Not in our library10.1158/1078-0432.ccr-15-1745

  13. 13.
  14. 14.

    Pengelly R.J. (2013 ) A SNP profiling panel for sample tracking in whole-exome sequencing studies. Genome Med., 5, 89.

    Not in our library10.1186/gm492

  15. 15.
  16. 16.
  17. 17.

    Wickham H. ( 2009 ) ggplot2: Elegant Graphics for Data Analysis. Springer Publishing Company, Incorporated, New York.

    Not in our library

  18. 18.
  19. 19.

    Zhang J. (2012 ) The genetic basis of early T-cell precursor acute lymphoblastic leukaemia. Nature, 481, 157–163.

    Not in our library10.1038/nature10725

  20. 20.

    Zhou X. (2015 ) Exploring genomic alteration in pediatric cancer using ProteinPaint. Nat. Genet., 48, 4–6.

    Not in our library10.1038/ng.3466

Cited by papers we hold 7

Reads

Read by people on this page

None yet.

Checked or read by AI through naulon

None yet.

A person counts once a day per paper. We keep no cookie and no address: a reader is a hash that changes every day. Any month under five reads shows no number.

Are you an author?

Is this your paper?

Claim it to add your note and be paid when agents cite it. Free.