getFlag.MicroarrayData: Gets the indices of the spots flagged with a specific flag

Description Usage Arguments Value Author(s) See Also Examples

Description

Gets the indices of the spots flagged with a specific flag.

Usage

1
2
## S3 method for class 'MicroarrayData'
getFlag(this, flag, slide=NULL, ...)

Arguments

flag

The name of the flag.

slide

Slide(s) to be considered. If NULL all slides are considered.

Value

Returns a vector of integers.

Author(s)

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

See Also

*setFlag(), *clearFlag(), *listFlags(), *getInclude(). For more information see MicroarrayData.

Examples

1
2
3
4
5
6
7
  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)
  setFlag(ma, "|M|>1", abs(ma$M)>1)
  plot(ma)
  highlight(ma, "|M|>1", col="red")

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