sgkit.variables.traits_spec#

sgkit.variables.traits_spec = ArrayLikeSpec(default_name='traits', __doc__='\nTrait (for example phenotype) variable names. Must all be continuous and\ncorrespond to 1 or 2D dataset variables of shape (samples[, traits]).\n2D trait arrays will be assumed to contain separate traits within columns\nand concatenated to any 1D traits along the second axis (columns).\n', kind=None, ndim={1, 2}, dims=('samples', {None, '*'}))#

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).