powered by
This function extracts annotation information from a GTF/GFF file.
get_gff_info(object=FALSE,gff.file,chr,position,feature=FALSE,extract.gene.names=FALSE)
object of class GENOME
GENOME
basepath of the GTF/GFF file
the chromosome
reference positions or region id (when object is specified)
object
feature to search for in the gff-file. returns a list of positions
returns the gene names of the chromosome
# NOT RUN { # get_gff_info("Arabidopsis.gff",chr=1,200202) # get_gff_info(GENOME.class,"Arabidopsis.gff",chr=1,position=3) # }
Run the code above in your browser using DataLab