pyroscience.pumpresp: Convert Respirometry Data from PyroScience and the pump...

View source: R/pyroscience.pumpresp.R

pyroscience.pumprespR Documentation

Convert Respirometry Data from PyroScience and the pump controller PumpResp to the FishResp Format

Description

The function is used to convert raw data from 'Pyro Oxygen Logger' (PyroScience) and a logger file of the pump controller PumpResp to the 'FishResp' format. This function should be applied before usage of the functions import.test and import.meas. The output is a file containing raw respirometry data in the 'FishResp' format (see Details in import.test to read more information about the 'FishResp' format)

Usage

pyroscience.pumpresp(pyroscience.file,
                     pumpresp.file,
                     fishresp.file,
                     n.chamber = c(1,2,3,4),
                     date.format = c("DMY", "MDY", "YMD"))

Arguments

pyroscience.file

the name of a file which contains raw data obtained from the 'Pyro Oxygen Logger' software (PyroScience)

pumpresp.file

the name of a file which contains logger data obtained from the pump conroller PumpResp

fishresp.file

the name of an exported file containing raw data in the 'FishResp' format

n.chamber

integer: the number of chambers used in an experiment (including empty ones)

date.format

string: date format (DMY, MDY or YMD) used in raw data obtained from the 'Pyro Oxygen Logger' software

Value

The function exports a file containing raw data in the 'FishResp' format

Examples

## Not run: 
pyroscience.path = system.file("extdata/salmon/salmon_pyroscience.txt",
                 package = "FishResp")

pumpresp.path = system.file("extdata/salmon/salmon_pumpresp.txt",
                 package = "FishResp")

pyroscience.pumpresp(pyroscience.path,
                     pumpresp.path,
                     "fishresp.txt",
                     n.chamber = 4,
                     date.format = "DMY")

## End(Not run)

FishResp documentation built on Sept. 18, 2022, 5:06 p.m.