Skip to contents

[Stable]

This function converts various objects to a data frame.

Usage

# S3 method for class 'GRanges'
fortify_data_frame(data, ..., data_arg = NULL, call = NULL)

Arguments

data

An object to be converted to a data frame.

...

Arguments passed to methods.

data_arg

The argument name for data. Developers can use it to improve messages. Not used by the user.

call

The execution environment where data and other arguments for the method are collected. Developers can use it to improve messages. Not used by the user.

Value

A data frame with at least following columns:

  • seqnames: The sequence (e.g., chromosome) names.

  • start: The start positions of the ranges.

  • end: The end positions of the ranges.

  • width: The width of each range.