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

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

Arguments

x

a RAIDSparam object.

value

a character string representing the name of the identifier of the quasi non-admixed profile from the reference.

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 anchorId slot in the object
anchorId(paramDemo) <-  "sp0.95vT"