R/RAIDSparam_class.R
slideWindowMaxBP-RAIDSparam-method.RdA function for getting the slideWindowMaxBP slot in a
RAIDSparam class.
# S4 method for class 'RAIDSparam'
slideWindowMaxBP(x)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.
## Create a RAIDSparam object
paramDemo <- RAIDSparam()
## Extract the slideWindowMaxBP slot for the object
slideWindowMaxBP(paramDemo)
#> [1] 500000