get_intersect_members | R Documentation |
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.
get_intersect_members(upset_df, groups, exclusive = TRUE)
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] |
List of all members in the intersection
get_intersect_members(dataframe_used_for_upsetR_plot, list_of_groups)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.