powered by
The function `mountain_plot` is used to draw a graph to reflect the distribution of the data.
mountain_plot(data, sample_class, Path_name)
Density ridges plot
A pathway activity score matrix,which row names represent the pathways and the column names are samples.
A vector containing subtype labels of the samples.
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.
#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)])
Run the code above in your browser using DataLab