ssvFeaturePie: ssvFeaturePie

View source: R/functions_feature_plots.R

ssvFeaturePieR Documentation

ssvFeaturePie

Description

Generate a ggplot pie plot of set sizes.

Usage

ssvFeaturePie(object, slice_colors = NULL, return_data = FALSE)

Arguments

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.

Value

ggplot pie graph of set sizes

Examples

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])

jrboyd/seqsetvis documentation built on Oct. 15, 2024, 11:28 p.m.