ssvFeaturePie {seqsetvis}R Documentation

pie plot of set sizes

Description

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

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

[Package seqsetvis version 1.14.0 Index]