Usage
getSegChr(bb.chr = NULL, ll.chr = NULL, sam.col=5, control=TRUE,
thr.hets=0.1, bin = 1000, data.type='copy',controlOne=0)
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>
bin
integer, number of markers contained in each bin.
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 0. If positive, 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.