getId.Layout: Gets the id of one or more spots

Description Usage Arguments Value Author(s) See Also Examples

Description

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

Usage

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

Arguments

index

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

Value

Returns the vector of ids.

Author(s)

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

See Also

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

Examples

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

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

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