setAnnotationFromObject | R Documentation |
Method of the class UserMetadata. Set annotation_object of one UserMetadata object by using one GRanges object as input.
setAnnotationFromObject(userObject, annotationObject, annotationName)
## S4 method for signature 'UserMetadata,GRanges,character'
setAnnotationFromObject(userObject, annotationObject, annotationName = "")
userObject |
The UserMetadata object |
annotationObject |
object of thr GRanges S4 class |
annotationName |
(optional) Name of the annotation. Will be used to create folders. |
If no annotationName is provided the name of the file is used to create folders.
An object of the class UserMetadata
{
user <- new("UserMetadata")
annotation_object <- rtracklayer::import(system.file("extdata",
"annotation.gtf", package = "BgeeCall"))
user <- setAnnotationFromObject(user, annotation_object,
"annotation_name")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.