getInputmatrix: Get input data as matrix

View source: R/qtool_functions.R

getInputmatrixR Documentation

Get input data as matrix

Description

This function prepare data for comparisons

Usage

getInputmatrix(dat)

Arguments

dat

bin-level copy numbers

Value

matrix with copy numbers of all samples

Examples

posBins<-lapply(1,function(chr)
    getBinsStartsEnds(window=1000000, chr, lengthChr[chr]))
exp_cell<-getCNbins(posBins=posBins, data=cells_segcn, samples=unique(cells_segcn$sample)[1])
colnames(exp_cell)<-unique(cells_segcn$sample)[1]
cnmatrix<-getInputmatrix(exp_cell)

macintyrelab/CNpare documentation built on April 15, 2022, 4:46 a.m.