read_gtf {valr}R 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)


[Package valr version 0.8.1 Index]