R/RAIDSparam_class.R
fieldPopInfAnc-RAIDSparam-method.RdA function for getting the fieldPopInfAnc slot in a
RAIDSparam class.
# S4 method for class 'RAIDSparam'
fieldPopInfAnc(x)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.
## Create a RAIDSparam object
paramDemo <- RAIDSparam()
## Extract the fieldPopInfAnc slot for the object
fieldPopInfAnc(paramDemo)
#> [1] "superPop"