get.feature.names: Feature informations and GFF-attributes

Description Usage Arguments Details Value Examples

Description

Returns feature names and additional attributes for a given region

Usage

1
get.feature.names(object, gff.file, chr)

Arguments

object

An object of class GENOME

gff.file

The corresponding GFF file

chr

The chromosome/scaffold identifier

Details

The algorithm uses the information stored in [email protected] to iterate
over the GFF file and returns attribute plus feature informations for each given region.
Note, the functions splitting.data, split_data_into_GFF_attributes or sliding.window.transform
should be performed prior to that.

The slot region.names must have the following form: "pos1 - pos2".

Value

The returned value is a character vector of length length([email protected])

Examples

1
2
3
4
5
6
7
8
# GENOME.class <- readVCF("chr1.vcf.gz",1000,"1",1,100000)
# GENOME.class.split <- split_data_into_GFF_attributes(GENOME.class,"Homo_sapiens.GRCh37.73.gtf", 
# "1", "gene_name")
# [email protected]
# info <- get.feature.names(GENOME.class.split, gff.file="Homo_sapiens.GRCh37.73.gtf", chr="1")
# GENOME.class.split <- splitting.data(GENOME.class, subsites="gene")
# [email protected]
# info <- get.feature.names(GENOME.class.split, gff.file="Homo_sapiens.GRCh37.73.gtf", chr="1")

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