(*This file shows an example Mathematica session to run a batch of simulations that track which Maternal Effects *) (*are present over evolutionary time. The output is stored in the matrix "metaout".*) (*The metaout file contains both XXX and the counts of the unique genotypes present in the population as well as their *) (*genotypic values. *) (*Format of the metaout data is *) (* {z1bar, z2bar, gamma1bar, gamma2bar, frequency of MIE, frequency of DME, frequency of RME, time (in generations), current enviornmental state , { {vector of counts of genotypes},{vector of unique genotype values}}} *) (**) (*for exampple: metaout= {0.46775, 0.518168, 0, 1, 0, 1, 0, 10052, 2, {{6, 2, 814, 6, 7, 162, 3}, {{0.452435, 0.511208, 0, 1, 2}, {0.459642, 0.520637, 0, 1, 2}, {0.466168, 0.521177, 0, 1, 2}, {0.471715, 0.515275, 0, 1, 2}, {0.473667, 0.533086, 0, 1, 2}, {0.475914, 0.502966, 0, 1, 2}, {0.48515, 0.500741, 0, 1, 2}}}} *) (*metaout[[1;;9]] gives the mean values in the population and time, etc. *) (*metaout[[10,1]] gives the counts of the number of individuals carrying each unique genotype *) (*metaout[[10,2,1]] gives genotype of the first unique genotype in the list *) (*Load the simulation code *) <