This function constructs an AnnotationTrack object from Biomart. It is
a convenience function.
geneRegionBiomart(chr, start, end, strand, biomart, dp = NULL, chrFunction = function(x) x, strandFunction = function(x) x)
chr An integer
start The start location
end The end location
strand An integer -1, 0, 1
biomart A mart
dp DisplayPars object
chrFunction A function which takes
chr and converts it into the correct representation for
biomaRt. For instance yeast likes to have chromosomes as roman
numerals so you can use as.roman here.
strandFunction Analagous to chrFunction,
but for strand. The internal representation of strand is -1,0,1
whereas biomaRt has different species dependent representations.
An AnnotationTrack object.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.