enve.recplot2.coordinates: Enveomics: Recruitment Plot (2) Coordinates

View source: R/recplot2.R

enve.recplot2.coordinatesR Documentation

Enveomics: Recruitment Plot (2) Coordinates

Description

Returns the sequence name and coordinates of the requested position bins.

Usage

enve.recplot2.coordinates(x, bins)

Arguments

x

enve.RecPlot2 object.

bins

Vector of selected bins to return. It can be a vector of logical values with the same length as x$pos.breaks-1 or a vector of integers. If missing, returns the coordinates of all windows.

Value

Returns a data.frame with five columns: name.from (character), pos.from (numeric), name.to (character), pos.to (numeric), and seq.name (character). The first two correspond to sequence and position of the start point of the bin. The next two correspond to the sequence and position of the end point of the bin. The last one indicates the name of the sequence (if defined).

Author(s)

Luis M. Rodriguez-R [aut, cre]


enveomics.R documentation built on April 13, 2022, 5:10 p.m.