Skip to contents

Find inter match distances for each gene

Usage

match_distances(
  gr_list,
  feature.pos = c("fivePrimeEnd", "threePrimeEnd", "center")
)

Arguments

gr_list

A GRangesList of matches from SeedMatchR

feature.pos

Which position to use for central point. Options: "fivePrimeEnd", "threePrimeEnd", "center"

Value

A list of calculated distances for each match in the GRanges object grouped by gene name.

Examples

if (FALSE) { # interactive()
match_distances(gr)
}