Find the middle point of dna_seg features
middle.Rd
Returns a vector containing the middle point of each feature in a dna_seg
object. Useful to prepare annotations, for example.
Examples
## Load data
data(barto)
## Get middles of the first dna_seg
mid <- middle(barto$dna_segs[[1]])