mountain_plot | R Documentation |
The function 'mountain_plot' is used to draw a graph to reflect the distribution of the data.
mountain_plot(data, sample_class, Path_name)
data |
A pathway activity score matrix,which row names represent the pathways and the column names are samples. |
sample_class |
A vector containing subtype labels of the samples. |
Path_name |
The names of the pathways that you want to show in the graph.The 'Path_name' must be included in the row names of the data. |
Density ridges plot
#load the data
data(Path_ES,sample_class)
#perform the function `mountain_plot`.
mountain_plot(data=Path_ES,sample_class=sample_class,Path_name=rownames(Path_ES)[c(12,20,74)])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.