R/RAIDSparam_class.R
listPos-set-RAIDSparam-method.RdA function for replacement of listPos slot in a
RAIDSparam class.
# S4 method for class 'RAIDSparam'
listPos(x) <- valuea RAIDSparam object.
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.
the modified RAIDSparam object when the new value is valid.
## 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))