add_p_q_values_statistics: add_p_q_values_statistics

View source: R/Statistics_identification.R

add_p_q_values_statisticsR 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


RaikOtto/Younikorn documentation built on Oct. 18, 2022, 1:21 a.m.