bubble_plot: Bubble plot

View source: R/bubble_plot.R

bubble_plotR Documentation

Bubble plot

Description

Bubble plot

Usage

bubble_plot(x, transp = 0.9, circ = 16, add.dendro = FALSE, ...)

Arguments

x

Data frame with data (columns = samples, rows = species abundance, rownames = species names)

transp

Transparency level (0-1)

circ

Circle scale factor

add.dendro

Logical, adds dendrogram for samples

...

Value

Invisibly returns a plot ('ggplot' class).

Examples

x <- as.data.frame(matrix(runif(n = 100, min = 0, max = 100), nrow = 10))
rownames(x) <- paste("sp", 1:nrow(x), sep="")
bubble_plot(x, add.dendro=F)
bubble_plot(x, add.dendro=T)


vmikk/metagMisc documentation built on June 20, 2024, 7:20 a.m.