@@ -375,7 +375,28 @@ class MultivariateMutationType(object):
375375 fitness and/or trait(s). This design closely mirrors SLiM's MutationType
376376 class.
377377
378- TODO: write a good docstring
378+ :ivar distribution_type: A str abbreviation for the distribution of
379+ effects that each new mutation of this type draws from (see above).
380+ :vartype distribution_type: str
381+ :ivar distribution_args: Arguments for the distribution type.
382+ :vartype distribution_type: list
383+ :ivar dominance_coeff: The dominance coefficient (negative = underdominance,
384+ 0 = recessive, 0.5 = additive, 1.0 = completely dominant, > 1.0 = overdominant)
385+ Default: 0.5.
386+ :vartype dominance_coeff: float
387+ :ivar convert_to_substitution: Whether to retain any fixed mutations in the
388+ simulation: if not, we cannot ask about their frequency once fixed.
389+ (Either way, they will remain in the tree sequence).
390+ :vartype convert_to_substitution: bool
391+ :ivar dominance_coeff_list: Either None (the default) or a list of floats describing
392+ a list of dominance coefficients, to apply to different selection coefficients
393+ (see details). Cannot be specified along with dominance_coeff.
394+ :vartype dominance_coeff_list: list of floats
395+ :ivar dominance_coeff_breaks: Either None (the default) or a list of floats
396+ describing the intervals of selection coefficient over which each of the entries
397+ of dominance_coeff_list applies (see details). Must be of length one shorter than
398+ dominance_coeff_list.
399+ :vartype dominance_coeff_breaks: list of floats
379400 """
380401
381402 trait_distribution_type = attr .ib (default = None , type = str )
0 commit comments