Learn R Programming

beadarraySNP (version 1.38.0)

alterCN: alterCN

Description

Changes one of the levels of a cn.sum data structure

Usage

alterCN(cn.sum, opa, value, updown)

Arguments

cn.sum
cn.sum structure to change
opa
opa panel within the structure
value
the predicted value to change
updown
the value has a higher (TRUE) or lower (FALSE) cn value

Value

a new cn.sum data structure

Details

The state in the cn.sum structure that has a predicted value of 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.

See Also

interactiveCNselect, createCNSummary, setRealCN