alterCN(cn.sum, opa, value, updown)
value
will have it's associated associated inferred copy number increased ( updown
is TRUE
) or decreased (updown
is FALSE
).
The function makes sure that the copynumber values within a OPA panel have the
same order as the predicted values.