SensorgramData-class: S4 class definition of SensorgramData

Description Arguments Details Slots See Also Examples

Description

SensorgramData define the S4 class of SensorgramData

Arguments

associationData

Dataframe holding the association phase data. It has a fixed format/template. See ReadSensorgramData for details.

dissociationData

Dataframe holding the dissociation phase data. It has a fixed format/template. See ReadSensorgramData for details.

analyteConcentrations,

numeric vector for analyteConcentrations of unit molar concentration (M/L)

steadyStateStart

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

steadyStateEnd

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

offset

numeric indicating the RU levels shift at the begining of dissociation phase. Not used for now. will implement in the future release. (optional)

Details

defining the S4 class of the SensorgrameData. This is the data structure to hold the sensor grame Data. It contains different slots for holding both association and dissociation phase data.It also defines the steady state window if there is one. Analyte concentrations also included. Sometimes the data could only have either association or dissociation phase alone.

Slots

associationData

data.frame

dissociationData

data.frame

analyteConcentrations

numeric vector

steadyStateStart

numeric

steadyStateEnd

numeric

offset

numeric

See Also

ReadSensorgramData GetObservedRUs SaveSPRData

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
	dt<-new("SensorgramData",
	dissociationData=data.frame(time=1:5,RU=1:5, time2=1:5, RU=1:5))
	dt@associationData

	dataFile<-list.files(system.file("extdata", package="SPRATS"),
	 pattern = "CBSInhibitor_raw.txt", full.names=TRUE) 
	rawData<-ReadSensorgramData(dataFile, skip=4, 
	header=T, sep="\t", associationPhaseEnd=80, dissociationPhaseEnd=150)

	plot(rawData)

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