glBar: Glimma MD Plot

View source: R/glBar.R

glBarR Documentation

Glimma MD Plot

Description

Create an interactive bar plot object.

Usage

glBar(x, ...)

Arguments

x

the data.frame containing data to plot.

...

additional arguments depending on input object type.

Value

A chart object containing the information to create an interactive bar plot.

Author(s)

Shian Su

See Also

glBar.default

Examples

data(mtcars)
counts <- table(mtcars$gear)
data <- data.frame(nGears=as.numeric(names(counts)), Count=as.numeric(counts))

plot1 <- glBar(data, "Count", "nGears", ylab="Number of Gears")
glimma_plot(plot1, layout=c(1,1), launch=TRUE)



Shians/Glimma documentation built on Sept. 7, 2024, 4:25 p.m.