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

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

Arguments

x

a RAIDSparam object.

value

a vector of positive integer values representing the length of the chromosomes.

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 the new chrInfo to the chrInfo slot in the object
chrInfo(paramDemo) <- c(122222L, 333333L)