simulate_BAF | R Documentation |
This functions simulates B allele frequencies and illustrates how UNMASC processes normal and tumor read counts for segmentation.
simulate_BAF(
num_segs = 2,
mean_depth = 300,
max_PSI = 0,
tumor = TRUE,
show_plots = TRUE
)
num_segs |
An integer specifying the number of segments to simulate. |
mean_depth |
An integer specifying a mean total depth for loci. |
max_PSI |
The largest beta-binomial overdispersion term a simulated segment can be. |
tumor |
To generate tumor read counts, set to |
show_plots |
Set to |
A list containing simulated true segmentation and observed data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.