get_disjoint_max_win: get_disjoint_max_win

View source: R/peakCallFunctions.R

get_disjoint_max_winR Documentation

get_disjoint_max_win

Description

find significant z score windows keeping the max value without intersections

Usage

get_disjoint_max_win(
  z0,
  sigwin = 20,
  nmax = Inf,
  zthresh = -Inf,
  two_sided = FALSE,
  verbose = FALSE
)

Arguments

z0

Matrix containing z scores with bins as rows and windows size as columns.

sigwin

Integer indicating how many bins per fragment.

nmax

Integer indicating the maximum number of windows to return.

zthresh

Integer indicating the minimum z-score considered significant.

two_sided

not used argument.

verbose

verbose flag.

Value

a matrix of integer containing founded peaks


drighelli/DEScan2 documentation built on March 21, 2023, 3:06 p.m.