single_c_chisq | R Documentation |
single_c_chisq
returns the C-score for a given
pair of lineages, using the chi-square approach. Setting na.rm = T
assumes that missing values are true negatives.
single_c_chisq(input1, input2, num_permute = 10000, na.rm = F)
input1 |
numeric vector |
input2 |
numeric vector |
num_permute |
numeric |
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_c_chisq (vector1, vector2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.