ReadSensorgramData: S3 method to read in the data

Description Usage Arguments Details Value See Also

Description

It read in data as a txt file according to exported SPR file from SensiQ

Usage

1
2
3
4
5
ReadSensorgramData(file, associationPhaseStart = 0,
  associationPhaseEnd = -1, dissociationPhaseEnd = -1,
  steadyStateStart = -1, steadyStateEnd = -1,
  analyteConcentrations = numeric(0), skip = 0, header = TRUE,
  sep = "\t")

Arguments

file

the directory path to the input file with the correct format as mentioned above

associationPhaseStart

numeric indiciation the starting time for associationPhase

associationPhaseEnd

numeric indiciation the starting time for associationPhase. This is actually the starting time for dissociationPhase

dissociationPhaseEnd

numeric indiciation the starting time for dissociationPhase

steadyStateStart

numeric indicating the starting time of steady state (optional).

steadyStateEnd

numeric indicating the ending time of steady state (optional).

analyteConcentrations

numeric vector for analyte concentrations

skip

numeric the options for control the text reading. indicating number of line to skip

header

boolean header for the table reading (T/F)

sep

character for the delimiter of the text

Details

Data file has the following format

Curve 1 2 3 4
Analyte CBS CBS CBS CBS
Ligand Ch 1 Ch 1 Ch 1 Ch 1
Conc 0.00E+00 5.00E-05 0.00E+00 0.00E+00
Time1 Data1 Time2 Data2 Time3 Data3 Time4 Data4
-2.6 0 -2.6 0.2839 -2.6 0 -2.6 0
-2.4 0 -2.4 0.3632 -2.4 0 -2.4 0
-2.2 0 -2.2 0.6978 -2.2 0 -2.2 0

Each file contains the header about the information of the data Data colums for the raw sensorgram data with header for each column each "curve" has two column, one time and the other RUs. The number of curves are variable. Please check the example data file in the example/ folder. Note: after reading the dissociation phase is rescaled to start at time zero.!!! relative to the dissociationPhaseStart/associationPhaseEnd

Value

a sensorgram data object

See Also

SensorgramData-class plot SaveSPRData


ffeng23/SPRATS documentation built on May 16, 2019, 12:50 p.m.