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

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

Arguments

x

a RAIDSparam object.

Value

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

Author

Pascal Belleau, Astrid Deschênes and Alexander Krasnitz

Examples


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

## Extract the thresholdLD slot for the object
thresholdLD(paramDemo)
#> [1] 0.3162278