Adv Mut frqs conditioned on advmutant: 0.519608 Adv Mut frqs conditioned on advmutant: 0.0294118 Adv Mut frqs conditioned on advmutant: 0.00980392 Adv Mut frqs conditioned on advmutant: 0.411765 Adv Mut frqs conditioned on advmutant: 0.539216 Adv Mut frqs conditioned on advmutant: 0.990196 Adv Mut frqs conditioned on advmutant: 0.0294118 Adv Mut frqs conditioned on advmutant: 0.0 Adv Mut frqs conditioned on advmutant: 0.0 Adv Mut frqs conditioned on advmutant: 0.0 Adv Mut frqs conditioned on advmutant: 0.0 Adv Mut frqs conditioned on advmutant: 0.00980392 Adv Mut frqs conditioned on advmutant: 0.0 Adv Mut frqs conditioned on advmutant: 0.0
What I think you want is to use paste() to generate a string of output values first, like:
> x = 1:10 > y = paste(x) > "Adv Mut...: " + y "Adv Mut...: 1 2 3 4 5 6 7 8 9 10"
p1.individuals[p1.individuals.containsMutations(selecmut)].genomes
is a pretty expensive thing for SLiM to compute, for a large model; since you use it twice in your code, it might be a good idea (and make the code easier to read) if you cached it in a local variable so that it is only computed once (per time through the selecmut loop, of course).--
SLiM forward genetic simulation: http://messerlab.org/slim/
---
You received this message because you are subscribed to the Google Groups "slim-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to slim-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/slim-discuss/3e5b0de7-096f-4bd1-8856-5c65ea7b2addn%40googlegroups.com.
--
SLiM forward genetic simulation: http://messerlab.org/slim/
---
You received this message because you are subscribed to the Google Groups "slim-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to slim-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/slim-discuss/3e0cceb8-0c6a-4a12-bb5e-b1a5fdf5b179n%40googlegroups.com.