importGTF: Import GTF file into R

View source: R/import.R

importGTFR Documentation

Import GTF file into R

Description

This function loads GTF files into R and converts it into

a wrapper to rtracklayer::import() function to conveniently import GTF file into R as a GenomicRanges object.

Usage

importGTF(con)

Arguments

con

Path to GTF file

Value

Imported GenomicRanges object in GTF format

Author(s)

Fursham Hamid

Examples

gtf <- system.file("extdata", "sc_merged_sample.gtf.gz", package = "factR")
importGTF(gtf)

fursham-h/factR documentation built on Aug. 20, 2023, 1:58 p.m.