Skip to contents

Given a region that should contain signal, and the point data within it, find the peaks, and return the region, and the set of points that make up each peak from each scan.

Usage

split_region_by_peaks(
  region_list,
  peak_method = "lm_weighted",
  min_points = 4,
  metadata = NULL
)

Arguments

region_list

a list with points and tiles IRanges objects

peak_method

the method for getting the peaks

min_points

how many points are needed for a peak

metadata

metadata that tells how things should be processed

Value

list