get_complex_genes: Get all the molecular complexes for a given gene(s)

View source: R/complexes_genes.R

get_complex_genesR Documentation

Get all the molecular complexes for a given gene(s)

Description

This function returns all the molecular complexes where an input set of genes participate. User can choose to retrieve every complex where any of the input genes participate or just retrieve these complexes where all the genes in input set participate together.

Usage

get_complex_genes(
  complexes = import_omnipath_complexes(),
  select_genes,
  total_match = FALSE
)

Arguments

complexes

complexes data frame (obtained using import_omnipath_complexes)

select_genes

vector containing the genes for whom complexes will be retrieved (hgnc format).

total_match

[default=FALSE] logical indicating if the user wants to get all the complexes where any of the input genes participate (FALSE) or to get only the complexes where all the input genes participate together (TRUE).

Value

Data frame of complexes

See Also

import_omnipath_complexes

Examples

complexes <- import_omnipath_complexes(
    filter_databases = c("CORUM", "hu.MAP")
)
query_genes <- c("LMNA", "BANF1")
complexes_query_genes <- get_complex_genes(complexes, query_genes)


saezlab/OmnipathR documentation built on April 17, 2024, 9:39 p.m.