import_gff_gtf {GALLO}R Documentation

Import .gtf and .gff files to be used during gene and QTL annotation, respectively

Description

Takes a .gft or .gff file and import into a dataframe

Usage

import_gff_gtf(db_file, file_type)

Arguments

db_file

File with the gene mapping or QTL information. For gene mapping, a .gtf file from Ensembl database must be used. For the QTL search, a .gff file from Animal QTlLdb must be used. Both files must use the same reference annotation used in the original study

file_type

"gtf" or "gff"

Value

A dataframe with the gtf or gtf content

Examples

gffpath <- system.file("extdata", "example.gff", package="GALLO")

qtl.inp <- import_gff_gtf(db_file=gffpath,file_type="gff")

[Package GALLO version 1.4 Index]