getSegChr()
, which calculates the folded BAF and logR ratios for each chromosome.
getSeg(BAFfilePath, logRfilePath, sam.col=5, control=TRUE,
thr.hets=0.1, bin = 500, savefile, data.type='copy',cbs=FALSE,
controlOne=0,nt=FALSE)
control
=TRUE), each plain text file must have the following fields:
Marker-ID, chromosome, start position, end position, Tumor 1, Paired-normal 1, Tumor 2, Paired-normal 2, ..., etc. For study with tumors matched with one control sample, the order of samples is not required.
It is not necessary to sort the genomic positions beforehand.
getSegChr
## Not run:
# getSeg(directory_to_BAF_files, directory_to_LRR_files, bin=1000)
# ## End(Not run)
Run the code above in your browser using DataLab