R/RAIDSparam_class.R
fileReferenceAnnotGDS-set-RAIDSparam-method.RdA function for replacement of fileReferenceAnnotGDS slot in a
RAIDSparam class.
# S4 method for class 'RAIDSparam'
fileReferenceAnnotGDS(x) <- valuethe modified RAIDSparam object when the new value is valid.
## Directory where demo GDS files are located
dataDir <- system.file("extdata", package="RAIDS")
## Create a RAIDSparam object
paramDemo <- RAIDSparam()
## Assign the existing file to the fileReferenceAnnotGDS slot in the object
fileReferenceAnnotGDS(paramDemo) <- file.path(dataDir,
"tests/ex1_good_small_1KG_Annot.gds")