A function for replacement of genoType slot in a RAIDSparam class.

# S4 method for class 'RAIDSparam'
genoType(x) <- value

Arguments

x

a RAIDSparam object.

value

a single character string representing the field in the GDS profile file that contains all the genotype information.

Value

the modified RAIDSparam object when the new value is valid.

Author

Pascal Belleau, Astrid Deschênes and Alexander Krasnitz

Examples


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

## Assign new value to the genoType slot in the object
genoType(paramDemo) <- "geno.REF"