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.
gff_read(gffFile, nRows = -1)
gffFile | The path to the Gff file to read. No default. |
---|---|
nRows | Optional maximum number of rows to read (the exact argument to |
Gff as data frame with appropriate column names and column data set to the correct class.
# NOT RUN { gff_read(s288C_annotation_R64_modified.gff) # }