Retrieves genes from the UCSC Genome Browser and generate the genes plot.
Arguments
- minRange
The sequence minimum range in base pairs.
- maxRange
The sequence maximum range in base pairs.
- chromosome
A character string identifying the chromosome.
- genome
The genome assembly to use. The default is hg19, the most recent human genome assembly on the UCSC genome browser.
- plot_lines_distance
The distance between the lines of genes plotted.
- vp
A
viewport
.- splice_variants
If
FALSE
, exclude gene splice variants.- non_coding
If
FALSE
, exclude non-coding genes.
Details
The genes are color coded as follows: Black -- feature has a corresponding entry in the Protein Data Bank (PDB) Dark blue -- transcript has been reviewed or validated by either the RefSeq, SwissProt or CCDS staff Medium blue -- other RefSeq transcripts Light blue -- non-RefSeq transcripts
For assemblies older than hg18, all genes are plotted in grey.
Examples
if (FALSE) {
grid.newpage()
plotGenes(149500000, 150000000, "chr7")
}