Description Usage Arguments Value Author(s) Examples
View source: R/CLONETv2_compute_ploidy.R
This function takes the beta table of a tumor sample and returns its ploidy.
1 2 3 4 | compute_ploidy(beta_table, max_homo_dels_fraction = 0.01,
beta_limit_for_neutral_reads = 0.9, min_coverage = 20,
min_required_snps = 10, library_type = "WES", n_digits = 3,
n_cores = 1)
|
beta_table |
data.frame formatted as the output of function
|
max_homo_dels_fraction |
estimated maximum proportion of genomic segments corresponding to an homozygous deletion (default=0.01) |
beta_limit_for_neutral_reads |
minimum beta value of a segment valid for computing ploidy (default=0.90) |
min_coverage |
minimum coverage of a segment valid for computing ploidy (default=20) |
min_required_snps |
minimum number of informative snps in a segment valid for computing ploidy (default=10) |
library_type |
WES, WGS (default=WES) |
n_digits |
number of digits in the output table (default=3) |
n_cores |
number of available cores for computation (default=1) |
A data.frame with two columns: sample that corresponds to column sample of the input beta_table, and ploidy computed
Davide Prandi
1 2 | ## Compute ploidy table with default parameters
pl_table_toy <- compute_ploidy(bt_toy)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.