R/RAIDSparam_class.R
PCAmissingRate-set-RAIDSparam-method.RdA function for replacement of PCAmissingRate slot in a
RAIDSparam class.
# S4 method for class 'RAIDSparam'
PCAmissingRate(x) <- valuea RAIDSparam object.
a positive numeric representing the maximum missing
rate accepted to use SNPs in the PCA analysis done with
the snpgdsPCA function. If NaN, no
missing threshold.
the modified RAIDSparam object when the new value is valid.
## Create a RAIDSparam object
paramDemo <- RAIDSparam()
## Assign new value to the PCAmissingRate slot in the object
PCAmissingRate(paramDemo) <- 0.03322