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

View source: R/complexes_genes.R

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

complex_genes(complexes = complexes(), genes, all_genes = FALSE)

Arguments

complexes

Data frame of protein complexes (obtained using complexes).

genes

Character: search complexes where these genes present.

all_genes

Logical: select only complexes where all of the genes present together. By default complexes where any of the genes can be found are returned.

Value

Data frame of complexes

See Also

complexes

Examples

complexes <- complexes(resources = c("CORUM", "hu.MAP"))
query_genes <- c("LMNA", "BANF1")
complexes_with_query_genes <- complex_genes(complexes, query_genes)


saezlab/OmnipathR documentation built on Oct. 16, 2024, 11:49 a.m.