middle {genoPlotR}R Documentation

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.

Author(s)

Lionel Guy

See Also

annotation, dna_seg

Examples


## Load data
data(barto)

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


[Package genoPlotR version 0.8.11 Index]