Returns a vector containing the middle of the genes of a dna_seg. Useful to prepare annotations, for example.
middle(dna_seg)
A dna_seg
object.
A numeric vector.
# NOT RUN {
## Load data
data(barto)
## Get middles of the first dna_seg
mid <- middle(barto$dna_segs[[1]])
# }
Run the code above in your browser using DataLab