NVTloadgff: Load a gff2 (gtf) or gff3 file, this may take a while...

Description Usage Arguments Value Examples

Description

Load a gff2 (gtf) or gff3 file, this may take a while depending on the file-size / number of features

Usage

1
NVTloadgff(gff_file, gff_version, gff_feature, gff_name)

Arguments

gff_file

The annotation in gff format

gff_version

The version of the provided gff file [gff1,gff2,gff3,gtf]

gff_feature

The feature to use [default: exon]

gff_name

The name to use [default: gene_id]

Value

List of gene/exon names and their length

Examples

1
2
3
4
5
6
library("NVT")

#get test GFF-file provided by this library
mygffpath<-system.file("extdata", "Ctr-D-UW3CX.gff", package = "NVT")

mylen <- NVTloadgff(mygffpath,"gff3","gene","locus_tag")

NexusX/NVT documentation built on June 25, 2021, 11:58 p.m.