Description Usage Arguments Value Author(s) See Also Examples
This function is a wrapper for convenient use of the CBS
segmentation method by PSSeg.  It applies the
segment function and reshapes the results
| 1 | 
| y | A numeric vector, the signal to be segmented | 
| ... | Arguments to be passed to  | 
| verbose | A  | 
A list with element:
| bkp | breakpoint positions | 
Morgane Pierre-Jean and Pierre Neuvial
| 1 2 3 4 5 6 7 8 9 10 11 12 13 | ## load known real copy number regions
affyDat <- loadCnRegionData(dataSet="GSE29172", tumorFraction=1)
## generate a synthetic CN profile
K <- 10
len <- 1e4
sim <- getCopyNumberDataByResampling(len, K, minLength=100, regData=affyDat)
datS <- sim$profile
## run CBS segmentation
res <- doCBS(datS[["c"]])
getTpFp(res$bkp, sim$bkp, tol=5, relax = -1)   ## true and false positives
plotSeg(datS, breakpoints=list(sim$bkp, res$bkp))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.