View source: R/functions_feature_plots.R
ssvFeaturePie | R Documentation |
Generate a ggplot pie plot of set sizes.
ssvFeaturePie(object, slice_colors = NULL, return_data = FALSE)
object |
object that ssvMakeMembTable can convert to logical matrix membership |
slice_colors |
colors to use for pie slices |
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 pie graph of set sizes
data(CTCF_in_10a_overlaps_gr)
ssvFeaturePie(list(1:3, 2:6))
ssvFeaturePie(CTCF_in_10a_overlaps_gr)
ssvFeaturePie(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.