read_spectramax_data: Function specific to read output files (.txt) produced by...

View source: R/read_spectramax_data.R

read_spectramax_dataR Documentation

Function specific to read output files (.txt) produced by spectraMax readers.

Description

This function receive one output file from spectraMax microplate reader and generate a tibble dataframe.

Usage

read_spectramax_data(file)

Arguments

file

The path to a proper .txt file formatted by the spectraMax machine.

Value

Returns a tibble data frame with four columns. The first column is "Wells" this contained the names for each well (A01, A02..). The second column represent "Time" at which the measurements were done, the format is in hh:mm:ss. The third column is "Temperature", this is the temperature at which the experiment was performed. The fourth column contained the measured values.

file format

To simplify the number of tasks that the user have to apply before load the data in R, read_spectramax_data() receive as a .txt the file that the spectraMax reader return after the measurements. In this case the problem related to different file formats, like .csv, .xlsx and versions is simplified by using only .txt files.

Examples

file_path <- system.file("extdata", "test_spectramax_data_1.txt",
package = "mpxtractor")

# Data is store as a tibble
data <- read_spectramax_data(
  file = file_path
)

# Now data is tidy
head(data)

# Main function

MartinBanchero/mpxtractor documentation built on March 30, 2022, 10:56 p.m.