Filter out some samples.

filter_samples(x, sample_filter, description = "")

Arguments

x

object of class mipanalyzer_biallelic or mipanalyzer_multiallelic.

sample_filter

boolean vector specifying whether to keep (TRUE) or drop (FALSE) each sample.

description

brief description of the filter, to be saved in the filter history.