gtf2GR: Read gene annotations in gtf format

Description Usage Arguments Value

View source: R/gff.R

Description

Read gene annotations in gtf format

Usage

1
gtf2GR(filename, gtfAttrNames = NULL)

Arguments

filename

gtf filename

gtfAttrNames

character vector with attribute names that should be parsed from the gtf file. Usually these are "gene_id", "gene_name", "transcript_id" and the like. By default no attributes are parsed.

Value

a GRanges object with all entries from the gtf file with metadata columns for source, type and the attributes parsed


matthiasheinig/seqQTL documentation built on May 21, 2019, 1:16 p.m.