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

View source: R/read_multiscango_data.R

read_multiscango_dataR Documentation

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

Description

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

Usage

read_multiscango_data(file, time_interval = NULL, input_type)

Arguments

file

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

time_interval

the time interval between measurements. This parameter is needed only for files formatted by the multiscango machine output option table.

input_type

specified if the input file of multiscan is in table or list format.

Value

Returns a tibble data frame for both multiscan formats, table or list. In the case of table format, returns four columns. The first column is "Wells" this contain the names for each well (A01, A02..). The second column represent "Reading" at which the measurements were done, The third column is "Measurement", this is the value measured for each "Reading". In the case of list format returns the same columns plus the column time in hh:mm:ss, column name Abs is change to Measurement, and 'Meas.time[s]' to Meas.time.sec.

file format

To simplify the number of tasks that the user have to apply before load the data in R, read_multiscango_data() receive as a .txt the file that the multiscanGO 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_multiscango_data_1.txt",
  package = "mpxtractor"
)

# Data is store as a tibble
data <- read_multiscango_data(
  file = file_path, time_interval = "2 min", input_type = "table"
)

# Now data is tidy
head(data)

# Main function

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