A function for getting the slideWindowMaxBP slot in a RAIDSparam class.

# S4 method for class 'RAIDSparam'
slideWindowMaxBP(x)

Arguments

x

a RAIDSparam object.

Value

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.

Author

Pascal Belleau, Astrid Deschênes and Alexander Krasnitz

Examples


## Create a RAIDSparam object
paramDemo <- RAIDSparam()

## Extract the slideWindowMaxBP slot for the object
slideWindowMaxBP(paramDemo)
#> [1] 500000