Samples: Extract all samples ids for a patient.

View source: R/getter_functions.R

SamplesR Documentation

Extract all samples ids for a patient.

Description

From a cohort object, this function extracts a vector of the sample ids available for a patient.

Usage

Samples(x, p)

Arguments

x

A REVOLVER cohort.

p

The id of a patient in the cohort.

Value

Sample names for a custom patient.

See Also

Other Getters: CCF_clusters(), CCF(), Clonal_cluster(), Data(), Drivers(), ITransfer(), Phylo(), Subclonal(), Truncal(), get_features()

Examples

# Data released in the 'evoverse.datasets'
data('TRACERx_NEJM_2017_REVOLVER', package = 'evoverse.datasets')

Samples(TRACERx_NEJM_2017_REVOLVER, 'CRUK0002')

Samples(TRACERx_NEJM_2017_REVOLVER, 'CRUK0008')

caravagn/revolver documentation built on May 21, 2022, 5:48 p.m.