tidal_analyzer {SIPETool} | R Documentation |
Tidal analyzer
Description
This function takes as input a csv file containing a time column and data columns and returns the position of the end tidals for each data column maximazing the syncronization between data. This function was originally devised for the analysis of the end tidals coming from exhaled breath analyzed through SIFT-MS technology
Usage
tidal_analyzer(
setdir = getwd(),
input_name = file.choose(),
output_name,
starting_threshold = 0.03,
time_frame = NA,
out_file = TRUE
)
Arguments
setdir |
working directory |
input_name |
csv file |
output_name |
name of the output file |
starting_threshold |
initial value for the dynamic threshold |
time_frame |
custom data range from the time column |
out_file |
flag for the export of a csv file |
Value
csv containing the end tidals, their maximum, average, frequency, and timing
Examples
data(SIFT_filtered)
tidal_analyzer(input_name = head(SIFT_filtered, n = 100), output_name = "out", out_file = FALSE)
[Package SIPETool version 0.1.0 Index]