R/RAIDSparam_class.R
eigenCount-set-RAIDSparam-method.RdA function for replacement of eigenCount slot in a
RAIDSparam class.
# S4 method for class 'RAIDSparam'
eigenCount(x) <- valuea RAIDSparam object.
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.
the modified RAIDSparam object when the new value is valid.
## Create a RAIDSparam object
paramDemo <- RAIDSparam()
## Assign new value to the eigenCount slot in the object
eigenCount(paramDemo) <- 33L