var.MAData: Variance for microarray data

Description Usage Arguments Value Author(s) See Also Examples

Description

Computes the variance across all slides for each spot.

Usage

1
2
## S3 method for class 'MAData'
var(this, inf.rm=TRUE, na.rm=TRUE, ...)

Arguments

inf.rm

a logical value indicating whether Inf values should be stripped before the computation proceeds.

na.rm

a logical value indicating whether NA values should be stripped before the computation proceeds.

...

other arguments to var, e.g. trim.

Value

Returns a matrix with the columns varM and varA.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

*mean(). For more information see MAData.

Examples

1
2
3
4
5
6
7
8
  # The option 'dataset' is used to annotate plots.
  options(dataset="sma:MouseArray")

  SMA$loadData("mouse.data")
  layout <- Layout$read("MouseArray.Layout.dat", path=system.file("data-ex", package="aroma"))
  raw <- RawData(mouse.data, layout=layout)
  ma <- getSignal(raw, bgSubtract=TRUE)
  var <- ma$var()

HenrikBengtsson/aroma documentation built on May 7, 2019, 12:56 a.m.