Summary scatterplot of a cohort.
# S3 method for rev_cohort plot(x, ...)
x | A REVOLVER cohort. |
---|---|
... | Standard S3 signature. |
A ggplot
object of the plot.
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.
Other S3 functions:
plot.rev_cohort_fit()
,
print.rev_cohort_fit()
,
print.rev_cohort()
# 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?