clean_gff: Clean up data from a gff file and convert to bed format

Description Usage Arguments Value

Description

Helper function for 'find_bed_regions'. Merges overlapping regions and sorts regions.

Usage

1
clean_gff(region, check.chr = FALSE, verbose = FALSE)

Arguments

region

Dataframe; list of gene regions in "bed" format. Must include the following columns in order: ‘chr' (’chromosome', character), 'start' (start position, numeric), and 'end' (end position, numeric).

check.chr

Logical; should coordinates be checked for chromosomal format with "chr" prefix?

verbose

Logical; should 'bedr' functions output all messages?

Value

Dataframe in "bed" format.


joelnitta/baitfindR documentation built on May 7, 2020, 6:21 p.m.