read_gtf: Import and convert a GTF/GFF file into a valr compatible bed...

View source: R/read_bed.r

read_gtfR Documentation

Import and convert a GTF/GFF file into a valr compatible bed tbl format

Description

This function will output a tibble with the required chrom, start, and end columns, as well as other columns depending on content in GTF/GFF file.

Usage

read_gtf(path, zero_based = TRUE)

Arguments

path

path to gtf or gff file

zero_based

if TRUE, convert to zero based

Examples


gtf <- read_gtf(valr_example("hg19.gencode.gtf.gz"))
head(gtf)


valr documentation built on Sept. 19, 2023, 1:07 a.m.