plot.rev_cohort: Summary scatterplot of a cohort.

View source: R/S3_plot_functions.R

plot.rev_cohortR Documentation

Summary scatterplot of a cohort.

Description

Summary scatterplot of a cohort.

Usage

## S3 method for class 'rev_cohort'
plot(x, ...)

Arguments

x

A REVOLVER cohort.

...

Standard S3 signature.

Details

Returns a scatterplot of the tumour mutational burden, at the clonal and subclonal level. Each dot is sized by the number of clones with drivers, and coloured by the numnber of drivers.

Value

A ggplot object of the plot.

See Also

Other S3 functions: plot.rev_cohort_fit(), print.rev_cohort_fit(), print.rev_cohort()

Examples

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

# Cancel the fits - just set the field to NULL
TRACERx_NEJM_2017_REVOLVER$fit = NULL

plot(TRACERx_NEJM_2017_REVOLVER)

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