Learn R Programming

PopGenome (version 1.2.6)

get_gff_info: Annotation info

Description

This function extract annotation informations 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 extract annotation informations from a gtf/gff file.

Examples

Run this code
# 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