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

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

Arguments

x

a RAIDSparam object.

Value

NULL or a vector of character strings that represent a subset of sample identifiers from the GDS Reference File. Those samples will be used for the ancestry inference. If NULL, all the samples are retained.

Author

Pascal Belleau, Astrid Deschênes and Alexander Krasnitz

Examples


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

## Extract the sampleRef slot for the object
sampleRef(paramDemo)
#> NULL