random_TIN | R Documentation |
This function simulates a random dataset for TINC analysis,
with mutations and copy number data. Segments are not real, they are assumed
to be constant heterozygous diploid (Major = minor = 1
) and span just
mutations (for mappability).
This samples has some noise so that the obtained TIT score might be slightly lower than the required input.
random_TIN(
N = 1000,
TIN = 0.05,
TIT = 1,
normal_coverage = 30,
tumour_coverage = 120
)
N |
Number of input simulations |
TIN |
TIN - Tumour in normal contamination level. |
TIT |
TIT - Tumour in tumour contamination level (aka tumour purity). |
normal_coverage |
Normal coverage (mean). |
tumour_coverage |
Tumour coverage (mean). |
Tibbles with the data, and a plot.
set.seed(1234)
# Default dataset
random_TIN()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.