View source: R/contig.assembly.R
grab_distal_breakends | R Documentation |
Grab candidate distal breakends based on tumor-specificity
If there are tumor-specific breakends: If there are MAPQ = 60 breakends all within 1kbp: returns a single breakend (the first one) If there are MAPQ = 60 breakends but not within 1 kbp: return MAPQ = 60 breakends Otherwise, return all breakends
grab_distal_breakends(
bps,
mapq.thresh = 60,
specificity.thresh = 0.05,
pad = 1000
)
bps |
(data.table) data.table representing breakpoints coercible to GRanges. bps needs to have columns mapq, tumor.count, and normal.count representing supporting barcodes for that contig. |
mapq.thresh |
(default 60) |
specificity.thresh |
(numeric) cutoff for tumor-specific contigs |
pad |
(numeric) default 1 kbp |
a data.table with filtered breakends and additional metadata columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.