valley: get the local minimal square standard error (SSE)

Description Usage Arguments Value Author(s)

View source: R/valley.R

Description

For a giving numeric vectors, calculate the top N local minimal square standard error. It will also include the saved ID if it is in the range of (ss, se)

Usage

1
valley(x, ss, se, n = 1, savedID = NA, filterByPval = TRUE)

Arguments

x

numeric vector

ss

start searching position

se

end searching position

n

the length of output. If n=-1, output all the local minimal SSE positions.

savedID

saved positions

filterByPval

logical. Filter the positions by p value or not.

Value

a numeric vector, position list.

Author(s)

Jianhong Ou


InPAS documentation built on Nov. 8, 2020, 5:03 p.m.