split_data_into_GFF_features: Split the data into GFF features

Description Usage Arguments Details Value Examples

View source: R/split_data_into_GFF_features.R

Description

Splits the data into GFF feautures defined by the user.

Usage

1
split_data_into_GFF_features(object, gff.file, chr, feature)

Arguments

object

An object of class GENOME

gff.file

The corresponding GFF file

chr

The chromosome/scaffold identifier

feature

The feature used for splitting

Details

The algorithm splits the data into features.
A feature can be "gene", "exon" etc.
depending on what is specified in the GFF3 file.

Value

The returned value is an object of class "GENOME"
See GENOME.class.split@region.names and GENOME.class.split@region.names
after splitting the data.

Examples

1
2
3
4
# GENOME.class <- readVCF("chr1.vcf.gz",1000,"1",1,100000)
# GENOME.class.split <- split_data_into_GFF_features(GENOME.class,"Homo_sapiens.GRCh37.73.gtf", 
# "1", "gene")
# GENOME.class.split@region.names

PopGenome documentation built on Feb. 1, 2020, 1:07 a.m.