You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pclass="p6"><spanclass="s5">All of the individuals contained by the subpopulation.<spanclass="Apple-converted-space"></span>Each individual is diploid and thus contains two </span><spanclass="s8">Genome</span><spanclass="s5"> objects.</span><spanclass="s3"><spanclass="Apple-converted-space"></span>See the </span><spanclass="s4">sampleIndividuals()</span><spanclass="s3"> and </span><spanclass="s4">subsetIndividuals()</span><spanclass="s3"> for fast ways to get a subset of the individuals in a subpopulation.</span></p>
<pclass="p6">If pedigree tracking is turned on with <spanclass="s1">initializeSLiMOptions(keepPedigrees=T)</span>, <spanclass="s1">lifetimeReproductiveOutput</span> contains the value of the <spanclass="s1">Individual</span> property <spanclass="s1">reproductiveOutput</span> for all individuals in the subpopulation that died in the last selection/mortality tick cycle stage (or, for WF models, immediately after reproduction).<spanclass="Apple-converted-space"></span>This allows access to the lifetime reproductive output of individuals in the subpopulation at the end of their lives.<spanclass="Apple-converted-space"></span>If pedigree tracking is not on, this property is unavailable.</p>
813
+
<pclass="p6">If pedigree tracking is turned on with <spanclass="s1">initializeSLiMOptions(keepPedigrees=T)</span>, <spanclass="s1">lifetimeReproductiveOutput</span> contains the value of the <spanclass="s1">Individual</span> property <spanclass="s1">reproductiveOutput</span> for all individuals in the subpopulation that died in the last viability/survival tick cycle stage (or, for WF models, immediately after reproduction).<spanclass="Apple-converted-space"></span>This allows access to the lifetime reproductive output of individuals in the subpopulation at the end of their lives.<spanclass="Apple-converted-space"></span>If pedigree tracking is not on, this property is unavailable.</p>
<pclass="p6">If pedigree tracking is turned on with <spanclass="s1">initializeSLiMOptions(keepPedigrees=T)</span>, <spanclass="s1">lifetimeReproductiveOutputF</span> contains the value of the <spanclass="s1">Individual</span> property <spanclass="s1">reproductiveOutput</span> for all female individuals in the subpopulation that died in the last selection/mortality tick cycle stage (or, for WF models, immediately after reproduction).<spanclass="Apple-converted-space"></span>This property is undefined if separate sexes have not been enabled, or if pedigree tracking is not on.</p>
815
+
<pclass="p6">If pedigree tracking is turned on with <spanclass="s1">initializeSLiMOptions(keepPedigrees=T)</span>, <spanclass="s1">lifetimeReproductiveOutputF</span> contains the value of the <spanclass="s1">Individual</span> property <spanclass="s1">reproductiveOutput</span> for all female individuals in the subpopulation that died in the last viability/survival tick cycle stage (or, for WF models, immediately after reproduction).<spanclass="Apple-converted-space"></span>This property is undefined if separate sexes have not been enabled, or if pedigree tracking is not on.</p>
<pclass="p6">If pedigree tracking is turned on with <spanclass="s1">initializeSLiMOptions(keepPedigrees=T)</span>, <spanclass="s1">lifetimeReproductiveOutputM</span> contains the value of the <spanclass="s1">Individual</span> property <spanclass="s1">reproductiveOutput</span> for all male individuals in the subpopulation that died in the last selection/mortality tick cycle stage (or, for WF models, immediately after reproduction).<spanclass="Apple-converted-space"></span>This property is undefined if separate sexes have not been enabled, or if pedigree tracking is not on.</p>
817
+
<pclass="p6">If pedigree tracking is turned on with <spanclass="s1">initializeSLiMOptions(keepPedigrees=T)</span>, <spanclass="s1">lifetimeReproductiveOutputM</span> contains the value of the <spanclass="s1">Individual</span> property <spanclass="s1">reproductiveOutput</span> for all male individuals in the subpopulation that died in the last viability/survival tick cycle stage (or, for WF models, immediately after reproduction).<spanclass="Apple-converted-space"></span>This property is undefined if separate sexes have not been enabled, or if pedigree tracking is not on.</p>
818
818
<pclass="p5">name <–> (string$)</p>
819
819
<pclass="p6">A human-readable <spanclass="s1">string</span> name for the subpopulation.<spanclass="Apple-converted-space"></span>By default, this is the subpopulation’s symbol as a <spanclass="s1">string</span>; for subpopulation <spanclass="s1">p3</span>, for example, <spanclass="s1">name</span> defaults to <spanclass="s1">"p3"</span>.<spanclass="Apple-converted-space"></span>However, it may be set to whatever you wish except that subpopulation names must be unique across time (two different subpopulations may not both have the name <spanclass="s1">"foo"</span>, even if they never exist at the same time).<spanclass="Apple-converted-space"></span>A subpopulation’s <spanclass="s1">name</span> may appear as a label in SLiMgui, and it can be useful in generating output, debugging, and other purposes.<spanclass="Apple-converted-space"></span>When tree-sequence recording is enabled, <spanclass="s1">name</span> is persisted in the subpopulation’s metadata in tree-sequence output, and can then be used in Python to identify the subpopulation; if you plan to take advantage of that feature, <spanclass="s1">name</span> should follow the syntax of Python identifiers: starting with a letter or underscore <spanclass="s1">[a-zA-Z_]</span>, followed by letters, digits, or underscores <spanclass="s1">[a-zA-Z0-9_]</span>, without spaces, hyphens, or other characters.</p>
\cf2\kerning1\expnd0\expndtw0 Beginning with SLiM 3.5, the
5841
+
\kerning1\expnd0\expndtw0 Beginning with SLiM 3.5, the
5843
5842
\f3\fs18 pedigreeIDs
5844
5843
\f4\fs20 parameter may be used to request that pedigree IDs be written out (and read in by
5845
5844
\f3\fs18 readFromPopulationFile()
@@ -5969,8 +5968,7 @@ As of SLiM 3.0, this method will read and restore the ages of individuals if tha
5969
5968
As of SLiM 3.3, this method will restore the nucleotides of nucleotide-based mutations, and will restore the ancestral nucleotide sequence, if that information is present in the output file. Loading an output file that contains nucleotide information in a non-nucleotide-based model, and
\cf2\kerning1\expnd0\expndtw0 As of SLiM 3.5, this method will read and restore the pedigree IDs of individuals and genomes if that information is present in the output file (as requested with
5971
+
\kerning1\expnd0\expndtw0 As of SLiM 3.5, this method will read and restore the pedigree IDs of individuals and genomes if that information is present in the output file (as requested with
\f4\fs20 for all individuals in the subpopulation that died in the last selection/mortality tick cycle stage (or, for WF models, immediately after reproduction). This allows access to the lifetime reproductive output of individuals in the subpopulation at the end of their lives. If pedigree tracking is not on, this property is unavailable.\
6836
+
\f4\fs20 for all individuals in the subpopulation that died in the last viability/survival tick cycle stage (or, for WF models, immediately after reproduction). This allows access to the lifetime reproductive output of individuals in the subpopulation at the end of their lives. If pedigree tracking is not on, this property is unavailable.\
\f4\fs20 for all female individuals in the subpopulation that died in the last selection/mortality tick cycle stage (or, for WF models, immediately after reproduction). This property is undefined if separate sexes have not been enabled, or if pedigree tracking is not on.\
6850
+
\f4\fs20 for all female individuals in the subpopulation that died in the last viability/survival tick cycle stage (or, for WF models, immediately after reproduction). This property is undefined if separate sexes have not been enabled, or if pedigree tracking is not on.\
\f4\fs20 for all male individuals in the subpopulation that died in the last selection/mortality tick cycle stage (or, for WF models, immediately after reproduction). This property is undefined if separate sexes have not been enabled, or if pedigree tracking is not on.\
6864
+
\f4\fs20 for all male individuals in the subpopulation that died in the last viability/survival tick cycle stage (or, for WF models, immediately after reproduction). This property is undefined if separate sexes have not been enabled, or if pedigree tracking is not on.\
EIDOS_TERMINATION << "ERROR (InteractionType::ExecuteMethod_evaluate): evaluate() may not be called during the offspring generation or selection/mortality cycle stages." << EidosTerminate();
4034
+
EIDOS_TERMINATION << "ERROR (InteractionType::ExecuteMethod_evaluate): evaluate() may not be called during the offspring generation or viability/survival cycle stages." << EidosTerminate();
4035
4035
4036
4036
// Get the requested subpops
4037
4037
int requested_subpop_count = subpops_value->Count();
0 commit comments