Skip to contents

apply mean on rows for each taxa across population

Usage

compute_mean_microbiome(microbiome, dir = F, n_ind = NULL, ao, mix.params)

Arguments

dir

bool

n_ind

number of individual per generation

ao

for dirichlet sampling parameter

mix.params

Vector of two values giving the weights for the regularisation of the base population microbiome. mix.params1 = weight for raw microbiome and mix.params2 = weight for mean microbiome. DEFAULT = c(0.75,0.25)