R/utils_fQC.R
get.correl.fc.Rd
Calculates genotype correlation using a fast check (fc) method.
get.correl.fc(g1, g2)
Genotype vector.
Numeric value of correlation.
Roberto Higa
g1 <- sample(0:2, 10, TRUE) g2 <- sample(0:2, 10, TRUE) get.correl.fc(g1, g2) #> [1] 0.6