dotplot {ssMutPA}R Documentation

Plotting the Dot plot .

Description

The function is used to draw a graph to reflect the univariate HRs and P-values of the pathways in different cancer types.

Usage

dotplot(data, low_col = "#6ADD26", high_col = "#AB2513", cut_point = 5)

Arguments

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.

Value

No return value

Examples

#load the data
data(dot_data)
#perform the function `dotplot`.
dotplot(dot_data)

[Package ssMutPA version 0.1.0 Index]