estimateStandardDeviation.RawGenomicSignals: Estimates the standard deviation of the raw Ys

estimateStandardDeviation.RawGenomicSignalsR Documentation

Estimates the standard deviation of the raw Ys

Description

Estimates the standard deviation of the raw Ys robustly or non-robustly using either a "direct" estimator or a first-order difference estimator.

Usage

## S3 method for class 'RawGenomicSignals'
estimateStandardDeviation(this, field=NULL, method=c("diff", "direct"),
  estimator=c("mad", "sd"), na.rm=TRUE, weights=getWeights(this), ...)

Arguments

field

A character specifying the field to estimate.

method

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.

estimator

If "mad", the robust mad estimator is used. If "sd", the sd estimator is used.

na.rm

If TRUE, missing values are excluded first.

weights

Locus specific weights.

...

Not used.

Value

Returns a non-negative numeric value.

Author(s)

Henrik Bengtsson

See Also

diff(), sd, and mad. For more information see RawGenomicSignals.


aroma.core documentation built on Nov. 16, 2022, 1:07 a.m.