truncatedLaplace: Compute truncated Laplace distribution weights
Description
Evaluates a Laplace distribution truncated to 95% of its area, with weights scaled to 10/19.
Usage
truncatedLaplace(x, laplaceScale)
Value
A numeric vector of weights.
Arguments
- x
A vector of integers representing centered SNP positions.
- laplaceScale
Scale parameter of the Laplace distribution.
Details
x must be within +- laplaceScale * log(20).