cnmops_to_CNVresults {CNVgears} | R Documentation

## Convert cn.mops results into `CNVgears` format

### Description

Convert cn.mops results into `CNVgears` format

### Usage

    cnmops_to_CNVresults(cnRes, sample_list, markers)

### Arguments

`cnRes` | cn.mops results (after integer CN calling)
`sample_list` | minimal cohort metadata, a `data.table` produced by the function `read_metadt`.
`markers` | a `data.table` containing the marker list, the output `read_finalreport_snps` with `DT_type` set to "markers" or `read_NGS_intervals`.

### Value

the input object `cnRes` converted into `CNVresults`

### Examples

    library(cn.mops)
    data(cn.mops)
    resCNMOPS <- cn.mops(XRanges)
    resCNMOPS <- calcIntegerCopyNumbers(resCNMOPS)
    resCNMOPS_cnvs <- cnvs(resCNMOPS)
    # cnmops_calls <- cnmops_to_CNVresults(resCNMOPS_cnvs, sample_list, markers)

[Package CNVgears version 1.0.0 Index]