sampleCloneMultiGroup - sampleCloneMultiGroup Down-sample clone to specified size with one or multiple groups to sample evenly

Description

sampleCloneMultiGroup Down-sample clone to specified size with one or multiple groups to sample evenly

Usage

sampleCloneMultiGroup(clone, size, weight = NULL, group = NULL)

Arguments

clone
an airrClone object
size
target size
weight
column for weighting sample probability
group
column(s) to sample evenly among group

Value

a down-sampled airrClone object