bedr.snm.region: sort a region file

Description Usage Arguments Value Author(s) Examples

Description

Sort and merge regions object in one step

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
bedr.snm.region(
	x,
	method = "lexicographical",
	distance = 0,
	list.names = TRUE,
	number = FALSE,
	check.zero.based = TRUE,
	check.chr = TRUE,
	check.valid = TRUE,
	verbose = TRUE
	)

Arguments

x

a object region object or index

method

natural or lexicographic

distance

distance between regions to be merged

list.names

output list of names for merged items

number

output number of merged items

check.zero.based

should 0 based coordinates be checked

check.chr

should chr prefix be checked

check.valid

should the region be checkded for integerity

verbose

should log messages and checking take place

Value

Sorted and merged regions object

Author(s)

Daryl Waggott

Examples

1
2
3
4
5
6
7
8
9
if (check.binary("bedtools")) {

index <- get.example.regions();

a <- index[[1]];

b <- bedr.snm.region(a);

}

bedr documentation built on May 2, 2019, 11:36 a.m.

Related to bedr.snm.region in bedr...