powered by
This function takes the beta table of a tumor sample and returns its ploidy.
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)
data.frame formatted as the output of function compute_beta_table
compute_beta_table
estimated maximum proportion of genomic segments corresponding to an homozygous deletion (default=0.01)
minimum beta value of a segment valid for computing ploidy (default=0.90)
minimum coverage of a segment valid for computing ploidy (default=20)
minimum number of informative snps in a segment valid for computing ploidy (default=10)
WES, WGS (default=WES)
number of digits in the output table (default=3)
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
# NOT RUN { ## Compute ploidy table with default parameters pl_table_toy <- compute_ploidy(bt_toy) # }
Run the code above in your browser using DataLab