which.samples {TRONCO} | R Documentation

## which.samples

### Description

Return a list of samples with specified alteration

### Usage

    which.samples(x, gene, type, neg = FALSE)

### Arguments

`x` | A TRONCO compliant dataset.
`gene` | A list of gene names
`type` | A list of types
`neg` | If FALSE return the list, if TRUE return as.samples() - list

### Value

A list of sample

### Examples

    data(test_dataset)
    which.samples(test_dataset, 'TET2', 'ins_del')
    which.samples(test_dataset, 'TET2', 'ins_del', neg=TRUE)

[Package TRONCO version 2.12.0 Index]