Skip to contents

Generate neutral SNVs

Usage

generate_neutral_snvs(
  mut_rate = 2,
  sample_below = 0.15,
  resolution = 0.01,
  DP = 100
)

Arguments

mut_rate

a in f(x) = a/x^2 formula

sample_below

mutations below this value will be sampled

resolution

resolution

DP

sequncing depth

Value

SNVs tibble

Examples

generate_neutral_snvs()
#> # A tibble: 1,532 × 15
#>    patient_id sample_id sample chrom   pos gene_symbol ref   alt   ref_reads
#>    <chr>      <chr>     <chr>  <chr> <int> <chr>       <chr> <chr>     <dbl>
#>  1 S1         S1        tumor  NA       NA NA          NA    NA           98
#>  2 S1         S1        tumor  NA       NA NA          NA    NA           97
#>  3 S1         S1        tumor  NA       NA NA          NA    NA           97
#>  4 S1         S1        tumor  NA       NA NA          NA    NA           97
#>  5 S1         S1        tumor  NA       NA NA          NA    NA           96
#>  6 S1         S1        tumor  NA       NA NA          NA    NA           96
#>  7 S1         S1        tumor  NA       NA NA          NA    NA           96
#>  8 S1         S1        tumor  NA       NA NA          NA    NA           96
#>  9 S1         S1        tumor  NA       NA NA          NA    NA           96
#> 10 S1         S1        tumor  NA       NA NA          NA    NA           96
#> # ℹ 1,522 more rows
#> # ℹ 6 more variables: alt_reads <dbl>, impact <chr>, VAF <dbl>, DP <dbl>,
#> #   n <dbl>, mut_id <chr>