valley {InPAS} | R Documentation |
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)
valley(x, ss, se, n = 1, savedID = NA, filterByPval = TRUE)
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. |
a numeric vector, position list.
Jianhong Ou