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

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

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).

Author

Pascal Belleau, Astrid Deschênes and Alexander Krasnitz

Examples


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

## Extract the posOffset slot for the object
posOffset(paramDemo)
#> [1] -1