dotplot | R Documentation |
The function is used to draw a graph to reflect the univariate HRs and P-values of the pathways in different cancer types.
dotplot(data, low_col = "#6ADD26", high_col = "#AB2513", cut_point = 5)
data |
A pathway activity score matrix, which rows represent the pathways and the columns are samples. |
low_col , high_col |
Colours for low and high ends of the gradient. |
cut_point |
The threshold of HRs,when HR is greater than the cut_point,HR is assigned cut_point. |
A Dot plot
#load the data
data(dot_data)
#perform the function `dotplot`.
dotplot(dot_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.