ssvFeatureBars {seqsetvis}R Documentation

bar plots of set sizes

Description

bar plots of set sizes

Usage

ssvFeatureBars(object, show_counts = TRUE, bar_colors = NULL)

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.

Value

ggplot of bar plot of set sizes

Examples

ssvFeatureBars(list(1:3, 2:6))
ssvFeatureBars(CTCF_in_10a_overlaps_gr)
ssvFeatureBars(S4Vectors::mcols(CTCF_in_10a_overlaps_gr)[,2:3])

[Package seqsetvis version 1.0.2 Index]