ssvFeatureBars: bar plots of set sizes

Description Usage Arguments Value Examples

View source: R/functions_feature_plots.R

Description

bar plots of set sizes

Usage

1
2
3
4
5
6
ssvFeatureBars(
  object,
  show_counts = TRUE,
  bar_colors = NULL,
  return_data = FALSE
)

Arguments

object

passed to ssvMakeMembTable for conversion to membership table

show_counts

logical. should counts be displayed at the center of each bar. default is TRUE

bar_colors

character. rcolor or hex colors. default of NULL uses RColorBrewer Dark2.

return_data

logical. If TRUE, return value is no longer ggplot and is instead the data used to generate that plot. Default is FALSE.

Value

ggplot of bar plot of set sizes

Examples

1
2
3

seqsetvis documentation built on Nov. 8, 2020, 5:57 p.m.