bartab: bartab

View source: R/bartab.R

bartabR Documentation

bartab

Description

Plot the overlap of three groups with a barplot

Usage

bartab(x, y, z, names, skipNone = FALSE, ...)

Arguments

x

logical

y

logical

z

logical

names

a character vector of length 3

skipNone

remove the "none" group

...

further arguments passed on to barplot

Author(s)

Michael I. Love

Examples


set.seed(1)
x <- sample(c(FALSE,TRUE), 10, replace=TRUE)
y <- sample(c(FALSE,TRUE), 10, replace=TRUE)
z <- sample(c(FALSE,TRUE), 10, replace=TRUE)
bartab(x,y,z,c("X","Y","Z"))


rafalib documentation built on April 11, 2025, 5:51 p.m.

Related to bartab in rafalib...