setCNVOffsets {Repitools} | R Documentation

## Set the CNVOffsets of a `QdnaData` object

### Description

A utility function to manually add CNV offset to a `QdnaData` object

### Usage

    setCNVOffsets(obj, cnv.offsets)

### Arguments

`obj` | a `QdnaData` object
`cnv.offsets` | a `matrix` of offsets (presumably copy number)

### Value

a `QdnaData` object

### Author(s)

Mark Robinson

### See Also

`QdnaData`

### Examples

    # library(Repitools)
    # qd <- QdnaData(counts=counts, regions=gb, design=design,
    #                neutral=(regs=="L=4 P=2"))
    # qd <- setCNVoffsets(qd, cn)

[Package Repitools version 1.30.0 Index]