p <- 200
f <- 10
g <- 4
n <- 100
d <- 3
X <- matrix(
runif(p * n),
ncol = p
)
data <- simulate_traits(
X, n_causal = f, n_trait_specific = g, n_pleiotropic = g, d = d, maf_threshold = 0,
logLevel = "ERROR"
)
Run the code above in your browser using DataLab