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

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

Arguments

x

a RAIDSparam object.

Value

a character string representing the name of the column in the Population Reference GDS file (corresponding to the fileReferenceGDS parameter) that contains the sub-population information for the samples. The column should be present in the Population Reference GDS file.

Author

Pascal Belleau, Astrid Deschênes and Alexander Krasnitz

Examples


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

## Extract the fieldSubPop slot for the object
fieldSubPop(paramDemo)
#> [1] "pop.group"