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

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

Arguments

x

a RAIDSparam object.

value

NULL or a character string representing the file name of the Population Reference GDS Annotation file.

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 file to the fileReferenceAnnotGDS slot in the object
fileReferenceAnnotGDS(paramDemo) <- file.path(dataDir, 
    "tests/ex1_good_small_1KG_Annot.gds")