Description Usage Arguments Value Examples
returns a copy of the input (stranded) genome intervals object with annotations restricted to the minimally required ones.
1 |
x |
A |
A copy of x
with the annotation
slot restricted to seq_name
, inter_base
and strand
(the latter only if x
is a Genome_intervals_stranded
object).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # load toy examples
data("gen_ints")
# add some non-core annotations to i
annotation(i)$comment = "some non-core annotation"
# i with all annotations
i
# core annotations only
core_annotated(i)
## Not run:
# with different annotation columns, i and j cannot be combined
c( i, j )
## End(Not run)
# core annotated versions can
c( core_annotated(i), core_annotated(j) )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.