Description Usage Arguments Value Examples
It is often needed to make minor changes (for dead plants etc.) to the output of MakeMainPlan
using PlotFieldPlan
is a good way to do that.
1 2 3 4 5 6 7 8 | PlotFieldPlan(
List,
DefaultCols = c(`Mb 311` = "#000000"),
SZ = 1.5,
TD = 0,
Label = "geno",
FlipR = FALSE
)
|
List |
Is the dater frame output from |
DefaultCols |
Are a list of key value pair sets for any pre-defined colours to use. |
SZ |
Is the text size in the graph this defaults to 1.5 but can be adjusted for large and small field plans. |
TD |
This allows the text in the field plan to be rotated by n degrees (default = 0). |
Label |
The type of labelling to do on the plan. This can be name/genotype ('geno'), plot number ('number'), location eg. 2-3 ('loc'), just a dot ('plant'), or the UID/number of the plant ('UID'). |
FlipR |
This flips the rows (default = FALSE). |
A ggplot2
heatmap style graph that can be saved with ggave
.
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
PlotFieldPlan(MakeMainPlan(LETTERS[1:12], 1:3, 1:4), SZ = 5)
PlotFieldPlan(MakeMainPlan(LETTERS[1:12], 1:3, 1:4,2,3), SZ = 3)
PlotFieldPlan(MakeMainPlan(LETTERS[1:12], 1:3, 1:4,2,3), SZ = 3, TD = 90, Label ='number')
PlotFieldPlan(MakeMainPlan(LETTERS[1:12], 1:3, 1:4,2,3), DefaultCols = c("A" = "red", "B" = "green", "C" = "blue"), SZ = 3)
PlotFieldPlan(MakeMainPlan(LETTERS[1:15], 1:3, 1:5,2,3), DefaultCols = c("A" = "red", "B" = "green", "C" = "blue"), SZ = 3, Label ='UID')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.