| core_annotated {genomeIntervals} | R Documentation |
returns a copy of the input (stranded) genome intervals object with annotations restricted to the minimally required ones.
core_annotated(x)
x |
A Genome_intervals or Genome_intervals_stranded object. |
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).
# 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) )