Filter a dataset based on selected samples id

samples.selection(x, samples)

Arguments

x

A TRONCO compliant dataset.

samples

A list of samples

Value

A TRONCO compliant dataset.

Examples

data(test_dataset)
dataset = samples.selection(test_dataset, c('patient 1', 'patient 2'))