get_gff_info: Annotation info

Description Usage Arguments Details Examples

Description

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

Usage

1
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

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

pievos101/PopGenome documentation built on May 16, 2019, 2:54 a.m.