R/RAIDSparam_class.R
slideWindowMaxBP-set-RAIDSparam-method.RdA function for replacement of slideWindowMaxBP slot in a
RAIDSparam class.
# S4 method for class 'RAIDSparam'
slideWindowMaxBP(x) <- valuea RAIDSparam object.
a single positive integer that represents the maximum
basepairs (bp) in the sliding window. This parameter is used
for the LD pruning done by the snpgdsLDpruning
function.
the modified RAIDSparam object when the new value is valid.
## Create a RAIDSparam object
paramDemo <- RAIDSparam()
## Assign new value to the slideWindowMaxBP slot in the object
slideWindowMaxBP(paramDemo) <- 1000L