annotatr package to retrieve annotation information (
CpG category and gene coding sequences) for the
plotDMRs. Allows for 5
re-tries if download fails (to allow for a spotty internet connection).
a character object that indicates which organism is
under study. Use the function
Note that this package needs to attach the
return NULL if this cannot be done. You can still use the
plotDMRs function without this optional annotation step,
just by leaving the
annoTrack argument as NULL.
SimpleGenomicRangesList object with two elements returned
getAnnot. The first
contains CpG category information in the first element (optional)
coding gene sequence information in the second element (optional).
At least one of these elements needs to be non-null in order for
any annotation to be plotted, but it is not necessary to contain
# get annotation information for hg19 annoTrack <- getAnnot('hg19')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.