R/RAIDSparam_class.R
thresholdLD-set-RAIDSparam-method.RdA function for replacement of thresholdLD slot in a
RAIDSparam class.
# S4 method for class 'RAIDSparam'
thresholdLD(x) <- valuea RAIDSparam object.
a single positive numeric value that represents
the LD threshold used in the snpgdsLDpruning
function.
the modified RAIDSparam object when the new value is valid.
## Create a RAIDSparam object
paramDemo <- RAIDSparam()
## Assign new value to the thresholdLD slot in the object
thresholdLD(paramDemo) <- 1000L