setName.Layout: Sets the name of one or more spots

Description Usage Arguments Author(s) See Also Examples

Description

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

Usage

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

Arguments

name

A vector of names.

index

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

Author(s)

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

See Also

*getName(). For more information see Layout.

Examples

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

  setName(layout, c("2412r", "2414r"), c(2412, 2414))

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

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