Learn R Programming

TRONCO (version 2.4.2)

which.samples: 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

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

Run the code above in your browser using DataLab