Generate beta matrix giving genetic effect per SNP on taxa abundances.
compute_beta_matrix_cluster.Rd
Generate beta matrix giving genetic effect per SNP on taxa abundances.
Usage
compute_beta_matrix_cluster(
n_b,
n_g,
n_clust,
n_qtl_o,
n_otus,
effect_size = 1,
correlation = 1,
beta_info = NULL
)
Value
A matrix
of taxa (in rows) across SNPs (in columns) giving the multiplicative effetc of genotype on taxa abundances.