gff_read: Read gff file

Description Usage Arguments Value Examples

Description

This function allows you to read a gff file. It uses read.table() to load the gff as a data frame, adds the column names and sets the correct column data classes. Adapted from function in the davidTiling experimental package. Also posted on the Bioconductor support system here.

Usage

1
gff_read(gffFile, nRows = -1)

Arguments

gffFile

The path to the Gff file to read. No default.

nRows

Optional maximum number of rows to read (the exact argument to nRows of read.table()). Defaults to all rows.

Value

Gff as data frame with appropriate column names and column data set to the correct class.

Examples

1
2
3
4
## Not run: 
gff_read(s288C_annotation_R64_modified.gff)

## End(Not run)

luisvalesilva/hwglabr documentation built on May 21, 2019, 8:56 a.m.