Description Usage Arguments Value Examples
View source: R/functions_feature_plots.R
bar plots of set sizes
1 2 3 4 5 6 | ssvFeatureBars(
object,
show_counts = TRUE,
bar_colors = NULL,
return_data = FALSE
)
|
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. |
ggplot of bar plot of set sizes
1 2 3 | ssvFeatureBars(list(1:3, 2:6))
ssvFeatureBars(CTCF_in_10a_overlaps_gr)
ssvFeatureBars(S4Vectors::mcols(CTCF_in_10a_overlaps_gr)[,2:3])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.