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

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

Arguments

x

a RAIDSparam object.

value

a character string representing the name of the column in the Population Reference GDS file (corresponding to the fileReferenceGDS parameter) that contains the sub-population information for the samples. The column should be present in the Population Reference GDS file.

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 fieldSubPop slot in the object
fieldSubPop(paramDemo) <-  "super.POPULATION.group"