dotplot: Plotting the Dot plot.

View source: R/plot.R

dotplotR 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

A Dot plot

Examples

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

ssMutPA documentation built on Oct. 16, 2024, 1:06 a.m.