cnmops_to_CNVresults: Convert cn.mops results into 'CNVgears' format

Description Usage Arguments Value Examples

View source: R/cnmops_to_CNVresults.R

Description

Convert cn.mops results into CNVgears format

Usage

1
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

1
2
3
4
5
6
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)

SinomeM/CNVgears documentation built on Nov. 21, 2021, 5:34 a.m.