gff2bed: Convert GFF file to BED

View source: R/utils.R

gff2bedR Documentation

Convert GFF file to BED

Description

Convert GFF file to BED

Usage

gff2bed(gffpath = NULL)

Arguments

gffpath

Path to .gff file with genome annotation.

Value

Path to output .bed file

Examples

gff_path <- system.file("extdata", "Homo_sapiens.GRCh37.75_subset.gtf", 
                         package="bears")
gffdir <- tempdir()
file.copy(from = gff_path, to=gffdir)
gff_file <- list.files(gffdir, full.names=TRUE, pattern=".gtf")
gff2bed(gff_file)

almeidasilvaf/bear documentation built on April 14, 2023, 7:03 p.m.