designPlot {dae} | R Documentation |

This function uses labels, usually derived from treatment and blocking factors from an experimental design and stored in a matrix, to build a graphical representation of the matrix, highlighting the position of certain labels . It is a modified version of the function supplied with DiGGer. It includes more control over the labelling of the rows and columns of the design and allows for more flexible plotting of designs with unequal block size.

```
designPlot(designMatrix, labels = NULL, altlabels = NULL, plotlabels = TRUE,
rtitle = NULL, ctitle = NULL,
rlabelsreverse = FALSE, clabelsreverse = FALSE,
font = 1, chardivisor = 2, rchardivisor = 1, cchardivisor = 1,
cellfillcolour = NA, plotcellboundary = TRUE,
rcellpropn = 1, ccellpropn = 1,
blocksequence = FALSE, blockdefinition = NULL,
blocklinecolour = 1, blocklinewidth = 2,
rotate = FALSE, new = TRUE, ...)
```

`designMatrix` |
A |

`labels` |
A What is actually plotted for a cell is controlled jointly by Whatever is being plotted, |

`altlabels` |
Either a If |

`plotlabels` |
A |

`rtitle` |
A |

`ctitle` |
A |

`rlabelsreverse` |
A |

`clabelsreverse` |
A |

`font` |
An |

`chardivisor` |
A |

`rchardivisor` |
A |

`cchardivisor` |
A |

`cellfillcolour` |
A See also |

`plotcellboundary` |
A |

`rcellpropn` |
a value between 0 and 1 giving the proportion of the standard row size of a cell size to be plotted as a cell. |

`ccellpropn` |
a value between 0 and 1 giving the proportion of the standard column size of a cell size to be plotted as a cell. |

`blocksequence` |
A |

`blockdefinition` |
A if there is only one row, then the first element is interpreted as the no. rows in each block and blocks with this number of rows are to be repeated across the rows of the design. if there is more than one row, then each row of the matrix specifies a block, with the sequence of rows in the matrix specifying a corresponding sequence of blocks down the rows of the design.
Similarly, a single value for a column specifies a repetition of blocks of that size across the columns of the design, while several column values specifies a sequence of blocks across the columns of the size specified. |

`blocklinecolour` |
A See also |

`blocklinewidth` |
A |

`rotate` |
A |

`new` |
A |

`...` |
further arguments passed to |

no values are returned, but a plot is produced.

Chris Brien

Coombes, N. E. (2009). *DiGGer design search tool in R*.
http://nswdpibiom.org/austatgen/software/

`blockboundaryPlot`

, `designPlotlabels`

, `designLatinSqrSys`

, `designRandomize`

, `designAnatomy`

in package dae.

Also, `par`

, `polygon`

,
`DiGGer`

```
## Not run:
designPlot(des.mat, labels=1:4, cellfillcolour="lightblue", new=TRUE,
plotcellboundary = TRUE, chardivisor=3,
rtitle="Lanes", ctitle="Positions",
rcellpropn = 1, ccellpropn=1)
designPlot(des.mat, labels=5:87, plotlabels=TRUE, cellfillcolour="grey", new=FALSE,
plotcellboundary = TRUE, chardivisor=3)
designPlot(des.mat, labels=88:434, plotlabels=TRUE, cellfillcolour="lightgreen",
new=FALSE, plotcellboundary = TRUE, chardivisor=3,
blocksequence=TRUE, blockdefinition=cbind(4,10,12),
blocklinewidth=3, blockcolour="blue")
## End(Not run)
```

[Package *dae* version 3.2-13 Index]