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

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

Arguments

x

a RAIDSparam object.

value

a character string representing the name of the column that contains the known ancestry for the reference profiles in the Population Reference GDS file (corresponding to the fileReferenceGDS parameter).

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()

## Assign new value to the fieldPopInRef slot in the object
fieldPopInRef(paramDemo) <-  "newPop"