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

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

Arguments

x

a RAIDSparam object.

Value

a character string representing the name of the column in the data frame that contains the inferred super-population ancestry for the samples. The column should be present in the data frame.

Author

Pascal Belleau, Astrid Deschênes and Alexander Krasnitz

Examples


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

## Extract the fieldPopInfAnc slot for the object
fieldPopInfAnc(paramDemo)
#> [1] "superPop"