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

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

Arguments

x

a RAIDSparam object.

value

a single integer that is added to the SNP position to switch from 0-based to 1-based coordinate when needed (or reverse).

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 a new value to the posOffset slot in the object
posOffset(paramDemo) <- 0L