Summary scatterplot of a cohort.

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

Arguments

x

A REVOLVER cohort.

...

Standard S3 signature.

Value

A ggplot object of the plot.

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.

See also

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)
#> Error in obj_has_fit(x): Cannot proceed without having computed fit models -- are you calling the right function?