import_gff_gtf: Import .gtf and .gff files to be used during gene and QTL...

Description Usage Arguments Value Examples

View source: R/import_gff_gtf.R

Description

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

Usage

1
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

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

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

pablobio/GALLO documentation built on March 11, 2021, 2:59 p.m.