as.events.in.sample {TRONCO} | R Documentation

## as.events.in.sample

### Description

Return a list of events which are observed in the input samples list

### Usage

    as.events.in.sample(x, sample)

### Arguments

`x` | A TRONCO compliant dataset
`sample` | Vector of sample names

### Value

A list of events which are observed in the input samples list

### Examples

    data(test_dataset)
    as.events.in.sample(test_dataset, c('patient 1', 'patient 7'))

[Package TRONCO version 2.10.3 Index]