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

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

Arguments

x

a RAIDSparam object.

value

a single positive numeric value that represents the LD threshold used in the snpgdsLDpruning function.

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 thresholdLD slot in the object
thresholdLD(paramDemo) <- 1000L