sgkit.variables.traits_spec¶
-
sgkit.variables.
traits_spec
= ArrayLikeSpec(default_name='traits', kind=None, ndim={1, 2})¶ Trait (for example phenotype) variable names. Must all be continuous and correspond to 1 or 2D dataset variables of shape (samples[, traits]). 2D trait arrays will be assumed to contain separate traits within columns and concatenated to any 1D traits along the second axis (columns).