.prepare_bins_of_sites | R Documentation |
Generates bins and calls prepare_sites such that site coordinates, number of trinucleotide contexts and indels, and all possible quadnucleotide contexts are returned for each mutation rate bin and site + flank
.prepare_bins_of_sites( sites, window_size, maf, n_bin = NA, n_min_mut = 100, global_mut_rate_window = 1e+06 )
sites |
Data frame of sites |
window_size |
Integer indicating the half-width of sites and flanking regions |
maf |
Data frame of mutations prepared by get_mut_trinuc_strand |
n_bin |
Integer (default 10) indicating the number of bins to which to split sites |
n_min_mut |
Integer (default 100) indicating minimum number of mutations to proceed with analysis |
global_mut_rate_window |
Integer (default 1e6) indicating the window for mutation rate binning |
List of length n_bin each containing two GRanges of coordinates (site and flanks) and two dataframes of trinucleotide counts and mutation contexts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.