MakeMainPlan: Makes a set of plots from a list of genotypes.

Description Usage Arguments Value Examples

View source: R/zigzag-make.R

Description

These can include subplots, in doing so this will call MakeSubPlan to make the subplots. Any sub plots can have differing zig-zags and origins defined in zz is called by ori.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
MakeMainPlan(
  xopplist,
  rowse,
  colse,
  nr = 1,
  nc = 1,
  zigzag = "R",
  origin = "TL",
  zz = "R",
  ori = "TL",
  FlipR = F,
  UID = 1
)

Arguments

xopplist

is the name of the genotype clone etc.

rowse

the columns in the field n:n e.g. 1 to 7 (1:7) or 1 to 5 (1:5). This should typically start at 1.

colse

The rows in the field n:n eg 1 to 5 (1:5) or 1 to 6 (1:6). This should typically start at 1.

nr

The number of rows in the sub plots.

nc

The number of columns in the sub plots.

zigzag

The zig-zag. This can be rows ('R'), columns ('C'), no zig-zag columns ('NC'), or no zig-zag rows ('NR').

origin

The origin of the plot so zig-zags are correct. This can be top-left ('TL'), bottom-left ('BL'), top-right ('TR'), or bottom-right ('BR'). Not all are available for all zz options.

zz

The sup plot zig-zag. This can be rows ('R'), columns ('C'), no zig-zag columns ('NC'), or no zig-zag rows ('NR').

ori

The sup plot origin of the plot so zig-zags are correct. This can be top-left ('TL'), bottom-left ('BL'), top-right ('TR'), or bottom-right ('BR'). Not all are available for all zz options.

FlipR

If to flip all the row numbers, use if 1,1 is at the bottom right.

UID

The UID for the first plant.

Value

A list of the posishons of the plants xopp in the colse and rowse starting at ori and zig-zagging according to zz.

Examples

1
MakeMainPlan(LETTERS[1:12],1:2,1:6,1,1)

dan909/Fieldplanr documentation built on July 7, 2020, 1:17 p.m.