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

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

Arguments

x

a RAIDSparam object.

value

a single numeric between 0 and 1 representing the probability that the calculated genotype call is correct.

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 minProb slot in the object
minProb(paramDemo) <- 0.03