Description Usage Arguments Details Value Examples
View source: R/siamcat_class_helper_functions.R
This functions filters the label in a SIAMCAT object
| 1 | filter.label(siamcat, ids, verbose = 1)
 | 
| siamcat | an object of class siamcat-class | 
| ids | vector, can contain either names or indices of samples to be retained | 
| verbose | integer, control output:  | 
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.
siamcat an object of class siamcat-class
| 1 2 3 4 | data(siamcat_example)
# simple working example
siamcat_filtered <- filter.label(siamcat_example, ids=c(1:20))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.