gr.simplify: Calculates pairwise distance for rearrangements represented...

gr.simplifyR Documentation

Calculates pairwise distance for rearrangements represented by GRangesList objects

Description

Calculates pairwise distance for rearrangements represented by GRangesList objects

Usage

gr.simplify(
  gr,
  field = NULL,
  val = NULL,
  include.val = TRUE,
  split = FALSE,
  pad = 1
)

Arguments

gr

GRanges or GRangesList input

field

character scalar, corresponding to value field of gr. (default = NULL)

val

character scalar (default = NULL)

include.val

boolean Flag will include in out gr values field of first matching record in input gr. (default = TRUE)

split

boolean Flag to split the output into GRangesList split by "field". (default = FALSE)

pad

integer Pad ranges by this amount before doing merge. [1], which merges contiguous but non-overlapping ranges (default = 1)

Value

Simplified GRanges with "field" populated with uniquely contiguous values


mskilab/gUtils documentation built on June 6, 2023, 12:08 a.m.