dilution_calculation: Dilution calculator

View source: R/dilution_calculation.R

dilution_calculationR Documentation

Dilution calculator

Description

Dilution calculator

Usage

dilution_calculation(data_table, concentration_column,
  target_concentration = 2, maximum_sample_volume = 40,
  maximum_volume = 200, print_for_robot = FALSE,
  output_directory = getwd(), output_filename = NULL)

Arguments

data_table

data table containing smples to be diluted

concentration_column

string containing name of column that contains concentration information

target_concentration

target concentration of dilution (e.g. 2 for 16S, 25 for metagenomics)

maximum_sample_volume

maximum amount of sample to be used to generate diluted sample (should definitely be less than the volume of your sample, but if it is too small, will limit the number of your samples that can be accurately diluted)

maximum_volume

maximum volume of diluted sample (often limited by plate volume, e.g. 200 uL)

print_for_robot

TRUE/FALSE to indicate whether or not a file should be made to be used with the robot (default = FALSE)

output_directory

directory to save file for use with the robot print_for_robot must be TRUE (default = working directory)

output_filename

filename for output file. If none is given, default will be "robot_dilution_file_YYYY_MM_DD.csv". It is not necessary to provide the '.csv' extension.

Value

data table with additional columns that are ready for dilutions


econtijoch/FaithLabTools documentation built on July 21, 2022, 8:34 a.m.