ezReadGff | R Documentation |
Reads an annotation table from a gtf or gff file into a data.frame.
ezReadGff(gffFile, nrows = -1)
ezWriteGff(x, file)
gffFile |
the gtf or gff file to read the information from. |
nrows |
an integer specifying the maximum number of rows to read in. |
x |
an annotation matrix or data.frame. |
file |
a character representing the connection to write the table to. |
Returns a data.frame containing the annotation information.
ezWriteGff()
: Writes a gtf or gff annotation table passed by with x
to the connection file
, keeping only the original columns.
Rehrauer, Hubert
Schmid, Peter
gtf = ezReadGff(system.file("extdata/genes.gtf", package="ezRun", mustWork=TRUE))
ezWriteGff(gtf,"newgtf")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.