Learn R Programming

genoPlotR (version 0.8.11)

middle: Middles of a dna_seg

Description

Returns a vector containing the middle of the genes of a dna_seg. Useful to prepare annotations, for example.

Usage

middle(dna_seg)

Arguments

dna_seg

A dna_seg object.

Value

A numeric vector.

See Also

annotation, dna_seg

Examples

Run this code
# 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