Last data update: 2014.03.03

R: Annotation info
get_gff_infoR Documentation

Annotation info

Description

This function extracts annotation information from a GTF/GFF file.

Usage


get_gff_info(object=FALSE,gff.file,chr,position,feature=FALSE,extract.gene.names=FALSE)

Arguments

object

object of class GENOME

gff.file

basepath of the GTF/GFF file

chr

the chromosome

position

reference positions or region id (when object is specified)

feature

feature to search for in the gff-file. returns a list of positions

extract.gene.names

returns the gene names of the chromosome

Details

This function extracts annotation information from a GTF/GFF file.

Examples

# get_gff_info("Arabidopsis.gff",chr=1,200202)
# get_gff_info(GENOME.class,"Arabidopsis.gff",chr=1,position=3)

Results