bubbleplot: bubble plot for data

Description Usage Arguments Examples

View source: R/bubbleplot.R

Description

bubble plot for data

Usage

1
2
3
bubbleplot(data, x, y, size, facet = NULL, ylim = NULL, xlab = NULL,
  ylab = NULL, titles = NULL, main = NULL, range = NULL,
  breaks = ggplot2::waiver(), labels = ggplot2::waiver(), legend = NULL)

Arguments

data

A list of data frames which have same structure.

x

A x-axis variable,character type

y

A y-axis variable,character type

size

the size of response,character type

facet

Either a formula or character vector to wraps a 1d sequence of panels into 2d. Use either a one sided formula, ~a + b, or a character vector, c("a", "b").

ylim

the scale of y-axis, c(low, high).

xlab

the label of x-axis, character type.

ylab

the label of y-axis, character type.

main

a main title of plot.

range

a numeric vector of length 2 that specifies the minimum and maximum size of the plotting symbol after transformation.

breaks

A numeric vector of positions

save

Save a png file using name as save.

color

the color of the point

title

if there are multi-plots will be drawn, this list includes the title of each plot.

Examples

1
2
   data(bubble)
   bubbleplot(bubble,x="time",y="value",size="HAMD",facet="variable")

ShouyeLiu/metaboliteUtility documentation built on May 6, 2019, 9:07 a.m.