create_upset_plot: Plots UpSetR

View source: R/UpSetR_functions.R

create_upset_plotR Documentation

Plots UpSetR

Description

Creates plot with multiple interesection between sets using UpSetR package

Usage

create_upset_plot(
  data_set,
  sets,
  y.label = "Items shared",
  x.label = "Items/group"
)

Arguments

data_set

A dataframe containing as columns de sets, as rows the items and values are 0/1 for absence/presence. You can also provide create_upset_data(list_files)

sets

Names of the set of interest to include in the comparison

y.label

Name to include in the Y axis. Default: Items shared

x.label

Name to include in the X axis. Default: Items/group

Value

Returns plot and dataset used


HCGB-IGTP/HCGB.IGTP.DAnalysis documentation built on April 13, 2025, 12:03 a.m.