Usage
plrs(expr, cghseg, cghcall=NULL, probloss = NULL, probnorm = NULL,
probgain = NULL, probamp = NULL, knots = NULL, continuous = FALSE,
constr = TRUE, constr.slopes = 2, constr.intercepts = TRUE,
min.obs = 3, discard.obs = TRUE)
Arguments
expr
Vector of gene expression values
cghseg
Vector of segmented copy number values
cghcall
Vector of called copy number values. If not provided, we are reduced to a simple linear model.
probloss
Vector of call probabilities associated with state "loss". Default is NULL
.
probnorm
Vector of call probabilities associated with state "normal". Default is NULL
.
probgain
Vector of call probabilities associated with state "gain". Default is NULL
.
probamp
Vector of call probabilities associated with state "amplification". Default is NULL
.
knots
knots or change points. If NULL
(default), there are estimated. See details.
continuous
Logical, whether the model is continuous (no jump) or not.
constr
Logical, whether the model is constrained or not. (this has been implemented to turn on and off easily the constraints)
constr.slopes
Type of non-negativity constraints applied on slopes. Either 1 or 2 (default). See details.
constr.intercepts
If TRUE
(default) jumps from state to state are also constrained to be non-negative