A function for replacement of the studyDFSyn slot in a RAIDSparam class.

# S4 method for class 'RAIDSparam'
studyDFSyn(x) <- value

Arguments

x

a RAIDSparam object.

value

a data.frame containing the information about the synthetic data for the analyzed sample(s). The data.frame must have those 3 columns: "study.id", "study.desc", "study.platform". All columns must be character strings (no factors).

Value

the modified RAIDSparam object when the new value is valid.

Author

Pascal Belleau, Astrid Deschênes and Alexander Krasnitz

Examples


## Create a RAIDSparam object
paramDemo <- RAIDSparam()

## Demo synthetic study data frame
studyDFSyn <- data.frame(study.id="TEST1", study.desc="Synthetic",
    study.platform="CSHL", stringsAsFactors=FALSE)

## Assign the new table to the studyDFSyn slot in the object
studyDFSyn(paramDemo) <- studyDFSyn