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

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

Arguments

x

a RAIDSparam object.

Value

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.

Author

Pascal Belleau, Astrid Deschênes and Alexander Krasnitz

Examples


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

## Extract the PCAmissingRate slot for the object
PCAmissingRate(paramDemo)
#> [1] 0.025