Skip to contents

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

Examples

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