filter.label.RdThis functions filters the label in a SIAMCAT object
# S3 method for label
filter(siamcat, ids, verbose = 1)an object of class siamcat-class
vector, can contain either names or indices of samples to be retained
integer, control output: 0 for no output at all,
1 for only information about progress and success, 2 for
normal level of information and 3 for full debug information,
defaults to 1
siamcat an object of class siamcat-class
This function filters the label contained in a SIAMCAT object,
based on the provided ids. The IDs can be either sample names or
indices to be retained.
Predominantly for internal use...
Please note: It makes sense to run validate.data after filtering the label.