Simulate two correlated binomial variables
correlated_binomial(nid, p1, p2, rho, n = 2, round = TRUE, print = FALSE)
Number of samples
Frequency 1
Frequency 2
Target correlation
Binomial parameter, should be 2 (default) for genotypes
Round or not Default=TRUE
Print or not Default=FALSE
Matrix