getName.Layout: Gets the name of one or more spots

Description Usage Arguments Value Author(s) See Also Examples

Description

Gets the name of one or more spots given their indices.

Usage

1
2
## S3 method for class 'Layout'
getName(this, index=NULL, ...)

Arguments

index

A vector of indices indicating which names to set. If NULL, all names are set.

Value

Returns the vector of names.

Author(s)

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

See Also

*indexOf(), *setName(). For more information see Layout.

Examples

1
2
3
4
5
  SMA$loadData(c("mouse.setup", "mouse.gnames"))
  layout <- as.Layout(mouse.setup, name=mouse.gnames)

  # Get the name of spot # 2453 and 2412:2417.
  getName(layout, c(2453, 2412:2417))

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