gffRead: read in GTF/GFF file as a data frame

Description Usage Arguments Value Author(s) See Also Examples

Description

read in GTF/GFF file as a data frame

Usage

1
gffRead(gffFile, nrows = -1, verbose = FALSE)

Arguments

gffFile

name of GTF/GFF on disk

nrows

number of rows to read in (default -1, which means read all rows)

verbose

if TRUE, print status info at beginning and end of file read. Default FALSE.

Value

data frame representing the GTF/GFF file

Author(s)

Kasper Hansen

See Also

getAttributeField to extract data from "attributes" column; http://useast.ensembl.org/info/website/upload/gff.html for more information on the GTF/GFF file format.

Examples

1
2
gtfPath = system.file('extdata', 'annot.gtf.gz', package='ballgown')
annot = gffRead(gtfPath)

alyssafrazee/ballgown-release documentation built on May 12, 2019, 1:40 a.m.