plot.rev_cohort_fit: Summary scatterplot of a cohort's fits.

View source: R/S3_plot_functions.R

plot.rev_cohort_fitR Documentation

Summary scatterplot of a cohort's fits.

Description

Summary scatterplot of a cohort's fits.

Usage

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

Arguments

x

A REVOLVER cohort with fits.

...

Standard S3 signature.

Details

Returns a scatterplot of the penalty of a patient's best fit, versus the tumour mutational burden. Each dot is sized by the number of combinations of Information Transfer for a patient, and coloured by the number of annotated drivers.

Value

A ggplot object of the plot.

See Also

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

Examples

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

plot(TRACERx_NEJM_2017_REVOLVER)

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