build_gaf | R Documentation |
Get gene annotation ranges (exons) for all genes from a GTF file.
build_gaf(GTF.file = NULL, output.file = NULL)
GTF.file |
GTF file name (with full directory). If NULL, UCSC annotation databases will be used. |
output.file |
an output file name where the gene annotation ranges will be saved |
GTF.file = "genes.gtf" regions = build_gaf(GTF.file=GTF.file) write.table(x=regions,file="genes_gaf.txt",sep="\t",quote=F,row.names=F)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.