Estimates the standard deviation of the raw Ys robustly or non-robustly using either a "direct" estimator or a first-order difference estimator.
# S3 method for RawGenomicSignals
estimateStandardDeviation(this, field=NULL, method=c("diff", "direct"),
estimator=c("mad", "sd"), na.rm=TRUE, weights=getWeights(this), ...)
Returns a non-negative numeric
value.
A character
specifying the field to estimate.
If "diff"
, the estimate is based on the first-order
contiguous differences of raw Ys. If "direct"
, it is based
directly on the raw Ys.
If "mad"
, the robust mad
estimator
is used. If "sd"
, the sd
estimator is used.
If TRUE
, missing values are excluded first.
Locus specific weights.
Not used.
Henrik Bengtsson