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

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

Arguments

x

a RAIDSparam object.

value

a single character string with two possible values: '1KGv1.0', '1k_hgdpV0.1'. It specifies the type of inference.

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 the new reference to the reference slot in the object
reference(paramDemo) <- "1k_hgdpV0.1"