Getter to the percentage of genome with pass value

get_PASS_percentage(x)

Arguments

x

A CNAqc object.

Value

A tibble with the data.

Examples

data("example_PCAWG", package = 'CNAqc')
get_PASS_percentage(example_PCAWG)
#> Joining with `by = join_by(QC_PASS)`
#> # A tibble: 2 × 4
#>   QC_PASS Length N_segments N_mutations
#>   <lgl>    <dbl>      <dbl>       <dbl>
#> 1 TRUE     0.437      0.164       0.437
#> 2 NA       0.563      0.836       0.563