Learn R Programming

valr (version 0.8.3)

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

Description

[Deprecated]

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

Run this code

if (FALSE) {
gtf <- read_gtf(valr_example("hg19.gencode.gtf.gz"))
head(gtf)
}

Run the code above in your browser using DataLab