calculate_cfu: Calculate the cfus based on the dilution factor and...

Description Usage Arguments Value Examples

View source: R/calculate_cfu.R

Description

Calculate the cfus based on the dilution factor and resuspended volume

Usage

1
2
3
4
5
6
7
8
9
calculate_cfu(
  df,
  dilution_factor,
  resuspend_volume_ml,
  volume_plated_uL,
  percent = 1,
  dilution_column = "dilution",
  CFU_column = "CFUs"
)

Arguments

df

dataframe that contains information on the cfu counts and corresponding dilutions

dilution_factor

the dilution factor used to perform dilutions (e.g., 5 fold dilutions)

resuspend_volume_ml

the volume that the organ is resuspended in mL (e.g., 0.5 mL)

volume_plated_uL

the volume that was plated onto the agar plate (e.g., 100 uL)

percent

percentage of the organ used to plate as a fraction/decimal, default is 1 (whole organ)

dilution_column

name of the dilution column in the input dataframe

CFU_column

name of the CFU column in the input dataframe

Value

df

Examples

1
calculate_cfu(CFU_one_dilution, 5, 0.5, 100, 0.5, "dilution", "CFUs")

aef1004/bactcountr documentation built on Oct. 22, 2021, 3:24 a.m.