Figure 1.
Tabular (top) and visual (bottom) representation of the exons for the human KRAS gene, derived from the UCSC known gene annotation.
In the table, the columns seqnames, start and end locate the exons in the genome. The strand column indicates the direction of transcription. The exons are grouped into transcripts by tx_id, and the exon IDs are given by exon_id. Virtually all genomic data sets fit this pattern: genomic location, followed by a series of columns, often including strand and/or score, that annotate that location. In the plot, the rectangles represent exonic regions, and the arrows represent the introns, as well as the strand.
Figure 2.
Illustration of the reduce and disjoin operations on the last exon from each of the KRAS transcripts.
Table 1.
Summary of the Ranges API.
Figure 3.
Illustration of overlap (top) and adjacency (bottom) relationships.
The any mode detects hits with partial or complete overlap, while within requires that the query range represents a subregion of the subject range.
Figure 4.
Illustration of overlap computations between two GRangesList objects.
Each set of rectangles linked by solid lines represents a compound range, i.e., an element of the list. Ranges in the query (top) are being matched against ranges in the subject (bottom). The labels between them indicate the type of overlap (any, within, none).
Table 2.
Contents of the krasA object, representing the exons in isoform A of KRAS.
Table 3.
Ranges for the first three reads in the ctcfReads object, storing the read alignments for the CTCF sample.
Figure 5.
Visualization of the coverage of bases by GFP- and CTCF-bound fragments (top) in the context of part of the gene model for Rrp1, Entrez gene 18114 (bottom).
Table 4.
Partial output of countVariants applied to a BAM file from an ENCODE CTCF ChIP-seq experiment.
Figure 6.
Top panels: distributions of alternate nucleotide proportions for on- and off-SNP allele-dependent CTCF binding events. Bottom panels: relationships between average call quality values and alternate nucleotide proportions are depicted using a 2D density estimate (darker regions correspond to higher density.).
Table 5.
Selected packages based on the Ranges infrastructure.