calculate_reagents: FUNCTION_TITLE

Description Usage Arguments Value Examples

View source: R/calculate_reagents.R

Description

FUNCTION_DESCRIPTION

Usage

1
2
3
4
5
calculate_reagents(buffers.df = NULL, Experiment = NULL, Buffer = NULL,
  amount_per_value = NULL, amount_per_unit = NULL, amount_needed = NULL,
  amount_type = NULL, Experiment_col = 1, Buffer_col = 2,
  Reagent_col = 3, Stock_conc_col = 4, Stock_unit_col = 5,
  Final_conc_col = 6, Final_unit_col = 7)

Arguments

buffers.df

dataframe containing your buffer recipes

Experiment

string to filter by experiment. ex: "PCR"

Buffer

string to filter by buffer. ex: "6x loading dye"

amount_per_value

a numeric value as part of the base recipe for 1 ml/sample. ex: 5, ex: df$amount.per.ml

amount_per_unit

a string as part of the base recipe for 1 ml/sample. ex: "ul, ex: df$amount.unit

amount_needed

a numeric value for how much of the buffer is needed.

amount_type

the unit, as a string, for the amount needed

Experiment_col

number of experiment col, if custom

Buffer_col

number of buffer col, if custom

Reagent_col

number of reagent col, if custom

Stock_conc_col

number of stock concentration col, if custom

Stock_unit_col

number of stock unit col, if custom

Final_conc_col

number of final concentration col, if custom

Final_unit_col

number of final unit col, if custom

Value

a dataframe with the calculations.

Examples

1
# ADD_EXAMPLES_HERE

avhgenomics/bioKIT documentation built on May 5, 2019, 12:29 a.m.