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), ...)
A character
specifying the field to estimate.
If "diff"
, the estimate is based on the first-order
contigous differences of raw Ys. If "direct"
, it is based
directly on the raw Ys.
If TRUE
, missing values are excluded first.
Locus specific weights.
Not used.
Returns a non-negative numeric
value.
diff
(), sd
, and mad
.
For more information see RawGenomicSignals
.