bubble_plot {pageRank}R Documentation

Make Bubbleplot

Description

Make bubbleplot.

Usage

bubble_plot(
  s_mat,
  c_mat,
  n_mat,
  col = colorRampPalette(c("Blue", "Grey", "Red"))(100),
  breaks = seq(-2, 2, length.out = 100),
  main = NULL
)

Arguments

s_mat

(matrix) Matrix denotes the size of bubbles.

c_mat

(matrix) Matrix denotes the color of bubbles.

n_mat

(matrix) Matrix denotes the name of bubbles.

col

(character) Colors.

breaks

(numeric) Breakpoints of colors.

main

(character) Title.

Value

(NULL) A bubbloplot.

Author(s)

DING, HONGXU (hd2326@columbia.edu)

Examples

s_mat <- c_mat <- n_mat <- matrix(1:12, 3, 4, dimnames=list(1:3, 1:4))
bubble_plot(s_mat, c_mat, n_mat, breaks=seq(1, 12, length.out=100), main="")


[Package pageRank version 1.2.0 Index]