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