add_p_q_values_statistics {Uniquorn} | R Documentation

## add_p_q_values_statistics

### Description

A hypergeometric distribution-assumption allows to calculate the p-values for a significant or non-significant overlap in this function

### Usage

    add_p_q_values_statistics(g_query, match_t, p_value, ref_gen,
      minimum_matching_mutations, top_hits_per_library)

### Arguments

`g_query` | IRanges object that contains the query variants
`match_t` | A table that contains the nubmber of matching variants
`p_value` | Threshold for the significance p-value
`ref_gen` | Reference genome version
`minimum_matching_mutations` | Manual lower amount of matching mutations require for a significant match between a query and a reference
`top_hits_per_library` | limits significant similarities to the first n hits

### Details

`add_p_q_values_statistics` Calculates the p-values

### Value

R table with a statistic

[Package Uniquorn version 2.0.0 Index]