View source: R/parse_fluorimeter_output.R
parse_fluorimeter_output | R Documentation |
Parse fluorimeter spectra
parse_fluorimeter_output(
spec_file = NULL,
timepoint_of_measurement = NULL,
n_averaging = 10,
determine_zero_time = TRUE,
adjust = TRUE,
file_type = c("auto", "FelixGXv4.1.0.3096", "Felix32v1.20", "FluorSEssencev3.8",
"manual")
)
spec_file |
Path to a ‘*.txt’ file as a |
timepoint_of_measurement |
A |
n_averaging |
A |
determine_zero_time |
A |
adjust |
A |
file_type |
A string specifying whether or the file was created using Felix GX or Felix 32 or FluorS Essence v3.8 or is a "manual" tab delimited file. |
A function to read fluorimeter output directly. Intended as a helper function to scramblase activity determinations from dithionite assays.
The function is currently capable to deal with input derived from
QuantaMaster instruments (Photon Technology International, Inc., Edison,
New Jersey)running software versions FelixGX v4.1
(see parse_felix_gx_output
), Felix32 v1.20
(see
parse_felix_32_output
) as well as Horiba fluorimeters
(HORIBA Europe GmbH, Oberursel, Germany) using FluorS Essence v3.8
.
The format used in a given file is divined from the data structure and
appropriate internal parsing functions are called.
If requested the time point of dithionite addition to a sample is determined
using pracma-supplied methodology and the acquisition time reset
accordingly (0
henceforth corresponds to the time of addition).
A data frame with two columns:
Numeric. Number of seconds since the start of experiment.
Numeric. Intensity of fluorescence (relative scale, no official unit).
If determine_zero_time
and/or adjust
are set to TRUE
,
the return value will have an attribute ZeroTimePoint
corresponding to
the determined time point of dithionite addition (always 0
(zero)
where adjust == TRUE
).
For Felix GX, if the file contains the information, the return value will
also have an attribute WavelengthsInNanometres
, which contains the
excitation and emission wavelengths.
Johannes Graumann
scramblase_assay_input_validation
,
parse_felix_gx_output
,
parse_felix_32_output
,
parse_FluorS_Essence_3.8_output
,
parse_manual_output
library(magrittr)
# Extract example data
analysis_dir <- file.path(tempdir(), "flippant-case-study")
fluor_file <- extract_case_study_data(analysis_dir, "wildtypeEx1_0.txt")
# Parse an exemplary file
parse_fluorimeter_output(fluor_file, timepoint_of_measurement = 350) %>%
str()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.