Description Usage Arguments Details Value Author(s) Examples
Generates a waterfall plot, which summarises the distribution of a continuous variable (such as a quantitative trait) by discrete categories (such as genotype).
1 2 3 4 |
object |
The name or values of the continuous variable |
x |
The name or values of the discrete category variable |
data |
A data frame containing values |
ylab |
A label for the y axis |
ylim |
Limits for the y axis |
bylevel |
Whether to group subjects by levels of x |
col |
A vector of colours |
... |
Other arguments |
Waterfall plots are widely used in clinical oncology, to display the distribution of a specific quantitative trait: best on-study change in tumour burden, relative to baseline. The plot is typically coloured by levels of a factor, such as treatment arm or categorical best response. In principle the plot could be used for any quantitative trait, but the display is most visually appealing when the trait takes both positive and negative values.
Returns an invisible null. The plot is generated as a side effect.
Toby Johnson Toby.x.Johnson@gsk.com
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.