alterCN {beadarraySNP} | R Documentation

## 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

### 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.

### Value

a new cn.sum data structure

### Author(s)

Jan Oosting

### See Also

interactiveCNselect, createCNSummary, setRealCN

[Package beadarraySNP version 1.46.0 Index]