create_plate_properties: Create plate properties.

Description Usage Arguments Examples

View source: R/create_plate_properties.R

Description

Generates concentrations, row / column labels and well contents from input.

Usage

1
2
3
4
5
6
7
8
9
create_plate_properties(
  row_range,
  column_range,
  well_contents,
  max_conc,
  direction = "horizontal",
  dil_factor = 0.5,
  constant_concentration = FALSE
)

Arguments

row_range

Vector of letters to generate values for (e.g LETTERS[1:3])

column_range

Vector of numbers to generate values for (e.g. 1:3)

well_contents

String for label of what is in the well (e.g. "Sample1")

max_conc

Maximum concentration of dilution series for values.

direction

String either "horizontal" (default) or "vertical". "horizontal" makes dilution series go across numbered colums, "vertical" makes diultion series go down the letterd rows.

dil_factor

Dilution factor for generating dilution series. Default = 0.5.

constant_concentration

TRUE/FALSE. TRUE = only 1 concentration for all values. FALSE = generating dilution series.

Examples

1
2
3
create_plate_properties(LETTERS[1:3], 1:3, 500, "Normal")
create_plate_properties(LETTERS[1:3], 1:3, 500, "vertical_values", direction = "vertical")
create_plate_properties(LETTERS[1:3], 1:3, 500, "constant_values", constant_concentration = T)

BradyAJohnston/simplePlates documentation built on Jan. 27, 2021, 5:57 p.m.