setParam | R Documentation |
Function for setting parameter values.
setParam(object, name) <- value ## S4 method for signature 'CCSParams' setParam(object, name, value)
object |
object to set parameter in. |
name |
name of the parameter to set. |
value |
value to set the paramter to. |
Object with new parameter value.
params <- newCCSParams() setParam(params, "nGene") <- 20000 setParam(params, "nCell") <- c(12, 43, 323) setParam(params, "cciInfo") <- list(nPair=2000, CCI1=list( LPattern=c(1,0,0), RPattern=c(0,1,1), nGene=100, fc="E10"), CCI2=list( LPattern=c(0,0,1), RPattern=c(1,1,1), nGene=200, fc="E10"), CCI3=list( LPattern=c(1,1,1), RPattern=c(1,0,1), nGene=300, fc="E10") ) setParam(params, "lambda") <- 0.1 setParam(params, "seed") <- 111
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.