This is a lightweight wrapper to the export family of functions defined in rtracklayer.
write_gff(x, file, index = FALSE)
write_gff1(x, file, index = FALSE)
write_gff2(x, file, index = FALSE)
write_gff3(x, file, index = FALSE)
A GRanges object
Path or connection to write to
If TRUE the output file will be compressed and indexed using bgzf and tabix.
The write function returns a GFFFile object invisibly
rtracklayer::GFFFile()