Write annotation GRangesList into a GTF file

writeToGTF(annotation, file, geneIDs = NULL)

Arguments

annotation

a GRangesList object

file

the output gtf file name

geneIDs

an optional dataframe of geneIDs (column 2) with the corresponding transcriptIDs (column 1)

Value

gtf a GTF dataframe