which.samples: which.samples

View source: R/which.functions.R

which.samplesR 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)


BIMIB-DISCo/TRONCO documentation built on Nov. 5, 2024, 3:44 a.m.