plotClusterBarplots: Plots barplots per sample of composition of each pagoda2...

Description Usage Arguments Value

Description

Plots barplots per sample of composition of each pagoda2 application based on selected clustering

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plotClusterBarplots(
  conos.obj = NULL,
  clustering = NULL,
  groups = NULL,
  sample.factor = NULL,
  show.entropy = TRUE,
  show.size = TRUE,
  show.composition = TRUE,
  legend.height = 0.2
)

Arguments

conos.obj

A conos object (default=NULL)

clustering

name of clustering in the current object (default=NULL)

groups

arbitrary grouping of cells (to use instead of the clustering) (default=NULL)

sample.factor

a factor describing cell membership in the samples (or some other category) (default=NULL). This will default to samples if not provided.

show.entropy

boolean Whether to include entropy barplot (default=TRUE)

show.size

boolean Whether to include size barplot (default=TRUE)

show.composition

boolean Whether to include composition barplot (default=TRUE)

legend.height

numeric Relative hight of the legend panel (default=0.2)

Value

a ggplot object


conos documentation built on Feb. 23, 2021, 9:06 a.m.