ggally_hurdle: Wrapper so ggally can use 'geom_hurdle'

View source: R/Geom3.R

ggally_hurdleR Documentation

Wrapper so ggally can use geom_hurdle

Description

Wrapper so ggally can use geom_hurdle

Usage

ggally_hurdle(
  data,
  mapping,
  lwd.regression = 1,
  lwd.axis = 2,
  size.point = 1,
  ...
)

ggally_hmosaic(data, mapping, ...)

Arguments

data

data in which plot is evaluated

mapping

a ggplot mapping

lwd.regression

line width for regression line

lwd.axis

line width for conditional mean along axis

size.point

size of points in scatter plot

...

passed to stat_hurdle1d

Value

plot

Functions

  • ggally_hmosaic: plot pairwise mosaic plots

Examples

data(shalek2014)
toplot <- t(shalek2014_list$exprs)[,c('MGL2', 'MX1', 'MALAT1')]
GGally::ggpairs(as.data.frame(toplot),
upper=list(continuous=ggally_hurdle),
lower=list(continuous=ggally_hmosaic))

amcdavid/HurdleNormal documentation built on May 14, 2022, 11:12 p.m.