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

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

Arguments

x

a RAIDSparam object.

value

a single numeric between 0 and 1 representing the probability of sequencing error for synthetic.

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