SeuratPie: Make small-multiple pie charts.

Description Usage Arguments

View source: R/seurat_extra.R

Description

Make small-multiple pie charts.

Usage

1
2
3
4
SeuratPie(dge, ident.use = "cell_type", facet_by = "eday",
  do.test = FetchDataZeroPad(dge, "eday")[[1]] %>% unique %>% length %>%
  is_greater_than(1), col = NULL, label = F,
  main = "Sample makeup by day", drop_levels = F)

Arguments

dge

Seurat object

ident.use

Becomes the categories in the pie chart

facet_by

Each small multiple contains cases at one level of this variable.

col

Optional colorscale.

label

Logical. If TRUE, percentages are added.

main

Plot title.

drop_levels

If TRUE, omit facets that would be empty.


maehrlab/thymusatlastools documentation built on May 28, 2019, 2:32 a.m.