Learn R Programming

GenomeGraphs (version 1.32.0)

GeneRegion-class: Class "GeneRegion", representing gene structures in a defined genomic region

Description

Given a start and end position and a chromosome name, all gene structures in this region will be retrieved from Ensembl upon creation of the object.

Arguments

Objects from the Class

Objects can be created by calls of the form new("GeneRegion", ...).

References

http://www.stat.berkeley.edu/~steffen/

See Also

objects to See Also as gdPlot

Examples

Run this code
if(interactive()){
mart = useMart("ensembl", dataset="hsapiens_gene_ensembl")
plusStrand = new("GeneRegion", chromosome = "17", start = 30450000, end = 30550000, strand = "+", biomart = mart)
genomeAxis = new("GenomeAxis", add53=TRUE)
gdPlot(list(genomeAxis, plusStrand), minBase = 30450000, maxBase =  30550000)
}

Run the code above in your browser using DataLab