Usage
getSegChr.CBS(bb.chr = NULL, ll.chr = NULL, sam.col=5,
control=TRUE, thr.hets=0.1, data.type = 'copy',
controlOne=0,nt=FALSE)
Arguments
bb.chr
numeric matrix, original B-allele frequency for a given chromosome for all samples.
ll.chr
numeric matrix, original logR ratio for a given chromosome for all samples.
sam.col
the index of the column in BAF or LRR files where the first sample starts
control
If TRUE, each tumor sample is paired with normal immediately after it. The columns of the data file is organized : sample_1, control_1, sample_2, control_2 .... If FALSE, each sample serves the control of itself.
thr.hets
lower threshold of calling homozygous markers. BAF<=thr.hets or="" baf="">=1-thr.hets are considered homozygous.
=thr.hets>
data.type
character string chosen from c('copy', 'log'). If 'copy', the value for LRR markers represent the copy number of SNPs. If 'log', the value is log2 based copy number intensity.
controlOne
default NA. If assigned, must be an integer number indicating the index of one control sample in the sample list. This control will be used for all the samples.
nt
logic, if TRUE, multi-thread processing will be used. Require R package multicore
. Not supported on Windows system.