Skip to contents

Obtain id of the parents selected for the next generation based on the criteria chosen by the user

Usage

select_individual(
  phenotypes,
  microbiomes,
  genotypes,
  beta,
  beta_otu,
  selection,
  size_selection_F,
  size_selection_M,
  selection_type,
  w.param
)

Arguments

selection

bool, if selection process needed, DEFAULT = FALSE

size_selection_F

percentage of female to select

size_selection_M

percentage of male to select

selection_type

mode of selection to be used, value in ("GB", "B", "G", "diversity", "div.GB"), DEFAULT = "GB"

w.param

in case div.GB selection mode is chosen