middle: Middles of a dna_seg

Description Usage Arguments Value Author(s) See Also Examples

View source: R/plot_helpers.R

Description

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

Usage

1

Arguments

dna_seg

A dna_seg object.

Value

A numeric vector.

Author(s)

Lionel Guy

See Also

annotation, dna_seg

Examples

1
2
3
4
5
## Load data
data(barto)

## Get middles of the first dna_seg
mid <- middle(barto$dna_segs[[1]])

genoPlotR documentation built on June 23, 2018, 3 p.m.