single_p_hyper | R Documentation |
single_p_hyper
returns the p-value for a single pair
of lineages using the hypergeometric approach. Setting na.rm = T assumes
that missing values are true negatives.
single_p_hyper(input1, input2, na.rm = F)
input1 |
numeric vector |
input2 |
numeric vector |
na.rm |
boolean |
length-one numeric
vector1 <- rep (0,1000) vector2 <- rep (0,1000) vector1[c(1:5,15:20,24,31:35,47:50,75)] <- 1 vector2[c(6:9,12,19:23,28:31,78:80)] <- 1 single_p_hyper (vector1, vector2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.