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

Description Usage Arguments Examples

View source: R/read_bed.r

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

1
read_gtf(path, zero_based = TRUE)

Arguments

path

path to gtf or gff file

zero_based

if TRUE, convert to zero based

Examples

1
2
gtf <- read_gtf(valr_example('hg19.gencode.gtf.gz'))
head(gtf)

valr documentation built on Dec. 11, 2021, 9:57 a.m.