Skip to content

ENH: subsample: stratify by metadata column(s) #204

@nbokulich

Description

@nbokulich

Improvement Description
Optionally input metadata column(s) on which to stratify subsampling. E.g., so that subsamples are taken evenly from among samples belonging to groups X and Y.

Current Behavior
Stratified subsampling is not available.

Proposed Behavior
Add an optional parameter. Multiple metadata columns would be great, but one is good enough if multiple is a headache.

References
forum xref

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions