which.samples: which.samples

Description Usage Arguments Value Examples

View source: R/which.functions.R

Description

Return a list of samples with specified alteration

Usage

1
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

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

TRONCO documentation built on Nov. 8, 2020, 5:51 p.m.