add_p_q_values_statistics {Uniquorn} | R Documentation |
A hypergeometric distribution-assumption allows to calculate the p-values for a significant or non-significant overlap in this function
add_p_q_values_statistics(g_query, match_t, p_value, ref_gen, minimum_matching_mutations, top_hits_per_library)
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 |
add_p_q_values_statistics
Calculates the p-values
R table with a statistic