Description Usage Arguments Value Note
imports an annotation directly from AnnotationHub and attaches it to the tssObject
1 2 3 4 | importAnnotationHub(experimentName, provider, annotType, species, annotID)
## S4 method for signature 'tssObject,character,character,character,character'
importAnnotationHub(experimentName, provider, annotType, species, annotID)
|
experimentName |
- an S4 object of class tssObject that contains information about the experiment |
provider |
- 'character' the source of the annotation in AnnotationHub (e.g. 'gencode') |
annotType |
- 'character' the format of the annotationHub annotation to be imported. Using 'gff' will find annotations in both gff or gff3 formats |
species |
- 'character' the species identifier in AnnotationHub (e.g. 'human') |
annotID |
- 'character' the AnnotationHub identifier to be retrieved |
fills the slot @annotation in the returned tssObject with an AnnotationHub record. The record retrieved must be an object of class GRanges.
An example similar to the one provided can be found in the vignette (/inst/doc/TSRchitect.Rmd)
Please consult the available records in AnnotationHub
beforehand using AnnotationHub-class
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.