mountain_plot {ssMutPA}R Documentation

Plotting the density ridges plot.

Description

The function 'mountain_plot' is used to draw a graph to reflect the distribution of the data.

Usage

mountain_plot(data, sample_class, Path_name)

Arguments

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.

Value

No return value

Examples

#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)])

[Package ssMutPA version 0.1.0 Index]