dataFrameToGRanges: Convert a data frame into a GRanges object

View source: R/helperFunctions.R

dataFrameToGRangesR Documentation

Convert a data frame into a GRanges object

Description

Seqnames, strand, start and end columns are used as corresponding elements in the GRanges object. Remaining columns are added into the elementMetadata data frame.

Usage

dataFrameToGRanges(df)

Arguments

df

Input data frame (required columns: seqnames, start, end, strand)

Value

GRanges object construct from df.


kauralasoo/txrevise documentation built on March 31, 2022, 12:03 p.m.