getLabel.MicroarrayData: Gets the label of one field

Description Usage Arguments Value Author(s) See Also Examples

Description

Gets the label of one field. Field labels are for instance used as default value is many plot functions. The labels can be set with the *setLabel() method.

Usage

1
2
## S3 method for class 'MicroarrayData'
getLabel(this, field, ...)

Arguments

field

A field name to get the label for.

Value

Returns the label. If the field was not found, the field is returned.

Author(s)

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

See Also

*setLabel(). See plotmath how expressions can be used to annotate graphs. For more information see MicroarrayData.

Examples

1
2
3
4
  SMA$loadData("mouse.data")
  layout <- Layout$read("MouseArray.Layout.dat", path=system.file("data-ex", package="aroma"))
  raw <- RawData(mouse.data, layout=layout)
  print(getLabel(raw, "R"))

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