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

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

Arguments

x

a RAIDSparam object.

Value

a single character string representing the genotype ancestry inference method.

Author

Pascal Belleau, Astrid Deschênes and Alexander Krasnitz

Examples


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

## Extract the inferenceType slot for the object
inferenceType(paramDemo)
#> [1] "PCAknn"