Usage
makeGRanges(x, freeze = NULL, positionsOnly = FALSE, soloStart = FALSE,
chromCol = NULL, strandCol = NULL, startCol = NULL, stopCol = NULL,
keepFactors = FALSE)
Arguments
x
dataframe to be converted into a GRanges object
freeze
UCSC genome version of the data in x. Default is NULL.
This parameter is generally used to populate seqinfo slot of GRanges objects.
positionsOnly
boolean flag indicating to return only position based
data or everything from the dataframe. Defaults to FALSE.
soloStart
flag denoting whether only one position based column
is available. In other words, only starts are present and no stops.
Default=FALSE.
chromCol
use the defined column name for seqname/chromosome based
data from the dataframe. Defaults to NULL.
strandCol
use the defined column name for strand or orientation from
the dataframe. Defaults to NULL.
startCol
use the defined column name for start coordinate from
the dataframe. Defaults to NULL.
stopCol
use the defined column name for stop coordinate from
the dataframe. Defaults to NULL and not required if soloStart=TRUE.
keepFactors
keep vectors/columns stored as factors? Defaults to FALSE