getSpacing(spacing, layout)
"columns"
, "rows"
, "subarrays"
or "topbottom"
.
Integer values are simply passed through."rows"
means that duplicate spots are printed side-by-side by rows.
These will be recorded in consecutive rows in the data object."columns"
means that duplicate spots are printed side-by-sidy by columns.
These will be separated in the data object by layout$nspot.r
rows.
"subarrays"
means that a number of sub-arrays, with identical probes in the same arrangement, are printed on each array.
The spacing therefore will be the size of a sub-array.
"topbottom"
is the same as "subarrays"
when there are two sub-arrays.
getSpacing("columns",list(ngrid.r=2,ngrid.c=2,nspot.r=20,nspot.c=19))
getSpacing("rows",list(ngrid.r=2,ngrid.c=2,nspot.r=20,nspot.c=19))
getSpacing("topbottom",list(ngrid.r=2,ngrid.c=2,nspot.r=20,nspot.c=19))
Run the code above in your browser using DataLab