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

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

Arguments

x

a RAIDSparam object.

Value

a character string representing the algorithm to use with the snpgdsPCA function.

Author

Pascal Belleau, Astrid Deschênes and Alexander Krasnitz

Examples


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

## Extract the PCAalgorithm slot for the object
PCAalgorithm(paramDemo)
#> [1] "exact"