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

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

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

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

Arguments

x

a RAIDSparam object.

value

a single positive integer representing the minimum required coverage.

Value

the modified RAIDSparam object when the new value is valid.

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 minCov slot in the object
minCov(paramDemo) <- 3L


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

## Assign a new value to the minCov slot in the object
minCov(paramDemo) <- 3L