A function for replacement of pathProfileGDS slot in a RAIDSparam class.

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

Arguments

x

a RAIDSparam object.

value

NULL or a single character string representing the path to the directory where the GDS Profile files will be created. If specified, the directory must exist.

Value

the modified RAIDSparam object when the new value is valid.

Author

Pascal Belleau, Astrid Deschênes and Alexander Krasnitz

Examples


## Directory where demo GDS files are located
dataDir <- system.file("extdata", package="RAIDS")

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

## Assign the existing path to the pathProfileGDS slot in the object
pathProfileGDS(paramDemo) <- file.path(dataDir)