barplot_3d: Generate 3d barplot.

Description Usage Arguments Examples

View source: R/utils.R

Description

This function is used to illustrate the model-based mean expression in the CARseq paper.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
barplot_3d(
  x,
  y,
  z,
  col = NULL,
  zvec = c(0.1, 0.1),
  alpha = 0.8,
  border = "grey",
  xlim = NULL,
  ylim = NULL
)

Arguments

x

a numeric vector of proportions that will be shown on the x axis

y

a numeric vector of heights that will be shown on the y axis

z

a numeric vector of depths

col

a numeric vector of colors

zvec

a numeric vector of length 2 for the direction of depth. Both entries should be positive.

alpha

a transparency value taking value between 0 and 1, where 1 is opaque and 0 is transparent

border

the border color

xlim

user-specified xlim

ylim

user-specified ylim

Examples

1
barplot_3d(x = 1:3, y = 1:3, z = 1)

Sun-lab/CARseq documentation built on Oct. 7, 2021, 1:52 p.m.