Description Usage Arguments Value Examples
Specific elements within the annotation slot may also be extracted by using the elements
parameter.
1 2 | ## S4 method for signature 'SNPhood'
annotation(object, elements = NULL, ...)
|
object |
Object of class |
elements |
Character. The name of the element(s) in the annotation slot to be extracted.
If set to |
... |
not supported |
If only a single value for elements
is provided, the element is returned directly.
If multiple values are provided, a named list with the requested elements is returned.
1 2 3 4 | data(SNPhood.o, package="SNPhood")
annotation(SNPhood.o)
annotation(SNPhood.o, elements = "regions")
annotation(SNPhood.o, elements = c("regions", "bins"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.