RAIDSparam objectR/RAIDSparam_class.R
studyDF-set-RAIDSparam-method.RdA function for replacement of the studyDF slot in a
RAIDSparam class.
# S4 method for class 'RAIDSparam'
studyDF(x) <- valuethe modified RAIDSparam object when the new value is valid.
## Create a RAIDSparam object
paramDemo <- RAIDSparam()
## Demo study data frame
studyDF <- data.frame(study.id="TEST1", study.desc="Study1",
study.platform="CSHL", stringsAsFactors=FALSE)
## Assign the new table to the studyDF slot in the object
studyDF(paramDemo) <- studyDF