R/RAIDSparam_class.R
eigenCount-RAIDSparam-method.RdA function for getting the eigenCount slot in a
RAIDSparam class.
# S4 method for class 'RAIDSparam'
eigenCount(x)a single integer indicating the number of
eigenvectors that will be in the output of the snpgdsPCA
function; if 'eigenCount' <= 0, then all eigenvectors are returned.
## Create a RAIDSparam object
paramDemo <- RAIDSparam()
## Extract the eigenCount slot for the object
eigenCount(paramDemo)
#> [1] 32