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

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

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

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

Arguments

x

a RAIDSparam object.

Value

a single character string representing the method that will be used to calculate the linkage disequilibrium in the snpgdsLDpruning() function.

a single character string representing the method that will be used to calculate the linkage disequilibrium in the snpgdsLDpruning() function.

Author

Pascal Belleau, Astrid Deschênes and Alexander Krasnitz

Examples


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

## Extract the pruningMethod slot for the object
pruningMethod(paramDemo)
#> [1] "corr"


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

## Extract the pruningMethod slot for the object
pruningMethod(paramDemo)
#> [1] "corr"