get_intersect_members: Get members (genes) of a set intersection shown in an UpsetR...

get_intersect_membersR Documentation

Get members (genes) of a set intersection shown in an UpsetR plot

Description

Given a list of groups in a set analysis plotted in UpsetR, get all members (i.e. Genes in this instance) in the intersection of those sets. Built to extract genes in a panaroo dataset.

Usage

get_intersect_members(upset_df, groups, exclusive = TRUE)

Arguments

upset_df

UpsetR dataframe (with the members column labelled as "Gene")

groups

List of the groups to get the intersection for

exclusive

TRUE/FALSE. If TRUE, only get the intersection of ONLY the groups in groups. If FALSE, return all values shared by the groups in groups, irrespective of whether those values are also in other groups. [Default = TRUE]

Value

List of all members in the intersection

Examples

get_intersect_members(dataframe_used_for_upsetR_plot, list_of_groups)

djw533/micro.gen.extra documentation built on Nov. 8, 2024, 5:11 a.m.