Description Usage Arguments Value Examples
View source: R/brk.burden.iqm.r
Evaluates the breakpoint burden based on a instance 'breaks' produced by svpluscnv::scv_breaks or svpluscnv::cnv_breaks. Breakpoint densities are calculated for each chromosome arm and the inter quantile mean (svpluscnv::IQM) of al chromosome arms is reported for each sample. A Graphical output is generated indicating every sample's arm burden ordered by their IQM.
1 2 3 4 5 6 7 8 9 10 |
brk |
(breaks) An instance of the class 'breaks' obtained from CNV segmentation data (svpluscnv::cnv.breaks) or Structural Variant calls (svpluscnv::svc.breaks). |
sample.col |
(character) A vector of valid colors. Names must match sample column from 'brk'. If null a gradiant color based on breakpoint burden IQM will be used. |
min.arm.size |
(numeric) minimum size in base pairs for a chromosome arm to be included in the analysis. Size will be calculated based on the 'genome.v' centromere location (excluding centromere bands). Chromosome start and en locations can be provided in 'chr.lim'. |
bp.unit |
(numeric) The genomic size unit in base pairs to report brekpoint densities. This parameter is also used for the y axis of the plot. |
genome.v |
(hg19 or hg38) reference genome version to draw chromosome limits and centromeres |
chr.lim |
(data.frame) 3 column table (chrom, begin, end) indicating the chromosome most distal coordinates with coverage. Also returned by the function svpluscnv::chromosome.limit.coords. |
plot |
(logical) whether produce a graphical output |
verbose |
(logical) whether to return internal messages |
an instance of the class 'cnvfreq' and optionally a plot into open device
1 2 3 4 5 6 7 | # initialize CNV data
svc <- validate.svc(nbl_svdat)
# obtain CNV breakpoints
brk <- cnv.breaks(cnv)
brk.burden.iqm(brk)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.