R/RAIDSparam_class.R
PCAalgorithm-RAIDSparam-method.RdA function for getting the PCAalgorithm slot in a
RAIDSparam class.
# S4 method for class 'RAIDSparam'
PCAalgorithm(x)a character string representing the algorithm to use
with the snpgdsPCA function.
## Create a RAIDSparam object
paramDemo <- RAIDSparam()
## Extract the PCAalgorithm slot for the object
PCAalgorithm(paramDemo)
#> [1] "exact"