AB.qPCR.export.to.MeltR.csv: Reformats an Applied Biosystems qPCR export file for fitting...

View source: R/AB_qPCR_export.to.MeltR.csv.R

AB.qPCR.export.to.MeltR.csvR Documentation

Reformats an Applied Biosystems qPCR export file for fitting with MeltR

Description

This function reads an Applied Biosystems (AB) qPCR export file (Text tab delimited), pulls out Temperature and normalized emission data, and formats it into a R data frame that MeltR can fit. Requires a .csv file index describing what reagents are in each well. The index should have columns labeled "well", "A" for the first reagent, and "B" for the second reagent. Also an option to save the result as a .csv file (see output_name) and to apply a Temperature correction function.

Usage

AB.qPCR.export.to.MeltR.csv(
  data_file,
  index_file,
  output_name = NA,
  Temp_correction = NA,
  Scale = NA
)

Arguments

data_file

Path to the tab delimited AB raw data export file.

index_file

Path to the .csv formatted index file.

output_name

Optional name of the .csv file you want to write. Default = NA to not write a file.

Temp_correction

Optional function to apply to correct the temperature readings, determined by callibrating the temperature in the qPCR machine. Default = NA to not apply a correction.

Scale

Option to scale the emission value by dividing by a value specified here. Default = NA not to scale the Emission values.

Value

A data frame containing the Normalized emission and temperature data for the wells you specified with the index file.


JPSieg/MeltR documentation built on Feb. 4, 2024, 7:10 a.m.