Split an Interval object into a data frame with two columns: start and end.
Usage
# S3 method for class 'Interval'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)Arguments
- x
An
Intervalobject.- row.names
Passed to
data.frame(). Either NULL or a character vector giving the row names for the data frame. Missing values are not allowed.- optional
Passed to
data.frame(). A single logical value, ifTRUE, setting row names and converting column names (to syntactic names: see make.names) is optional.!optionalis passed tocheck.namesindata.frame(). Default isFALSE.- ...
Additional arguments passed to
data.frame().