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

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

Arguments

x

a RAIDSparam object.

value

NULL or a data.frame containing 2 columns named: "snp.chromosome" and "snp.position". The first column, called "snp.chromosome", contains the name of the chromosome where the SNV is located. The second column, called "snp.position", contains the position of the SNV on the chromosome.

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 new values to the listPos slot in the object
listPos(paramDemo) <-data.frame(snp.chromosome=c("1", "1"), 
    snp.position=c(12232, 433333))