set.Layout: Sets the layout

Description Usage Arguments Author(s) Examples

Description

Sets the layout by either 1) explicitly setting the number of rows and columns of grids and the number of rows and columns of spots within each grid, or 2) by giving another Layout object.

Usage

1
2
## S3 method for class 'Layout'
set(this, ngrid.r=NULL, ngrid.c=NULL, nspot.r=NULL, nspot.c=NULL, name=NULL, id=NULL, ...)

Arguments

nspot.r

The number of rows of spots per grid.

nspot.c

The number of columns of spots per grid.

ngrid.r

The number of rows of grids per slide.

ngrid.c

The number of columns of grids per slide.

name

A vector if names for the spot.

id

A vector if ids for the spot.

Author(s)

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

Examples

1
2
3
4
   layout1 <- Layout(4,4, 18,18)
   layout2 <- Layout()
   set(layout2, 4,4, 16,16)   # Alternative 1
   set(layout2, layout1)      # Alternative 2

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