Description Usage Arguments Value Examples
View source: R/breakpoint.density.r
Match common breakpoints from two different datasets or data types based on their co-localization in the genome.
1 | match.breaks(brk1, brk2, maxgap = 1e+05, verbose = FALSE, plot = TRUE)
|
brk1 |
(S4) an object of class breaks as returned by 'svc.breaks' and 'cnv.breaks' |
brk2 |
(S4) an object of class breaks as returned by 'svc.breaks' and 'cnv.breaks' to compare against brk1 |
maxgap |
(numeric) distance (base pairs) limit for nreakpoints to be consider colocalized |
verbose |
(logical) whether to return internal messages |
plot |
(logical) whether to plot into open device |
an object containing co-localizing breakpoints from two input 'breaks'
1 2 3 4 5 6 7 8 9 | # initialize CNV and SVC data
cnv <- validate.cnv(segdat_lung_ccle)
svc <- validate.svc(svdat_lung_ccle)
## Obtain breakpoints from CNV and SVC
brk1 <- cnv.breaks(cnv)
brk2 <- svc.breaks(svc)
common.brk <- match.breaks(brk1, brk2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.