findHotspots | R Documentation |
Find breakpoint hotspots with kernel density estimation (KDE).
findHotspots(models, bw, pval = 0.05, spacing.bp = 5000, filename = NULL)
models |
A list of |
bw |
Bandwidth used for kernel density estimation (see |
pval |
P-value cutoff for hotspots. |
spacing.bp |
Spacing of datapoints for KDE in basepairs. |
filename |
Will write hotspot coordinates and densities to the specified file. Endings "_breakpoint-hotspots.bed.gz" and "_breakpoint-densities.wig.gz" will be appended to |
findHotspots
uses density
to perform a KDE. A p-value is calculated by comparing the density profile of the genomic events with the density profile of a randomly subsampled set of genomic events. Due to this random sampling, the result can vary for each function call, most likely for hotspots whose p-value is close to the specified pval
.
A list of GRanges-class
objects containing 1) coordinates of hotspots and 2) p-values within the hotspot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.