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

Description Usage Arguments Value See Also Examples

View source: R/complexes_genes.R

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

1
2
3
4
5
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

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

OmnipathR documentation built on Nov. 8, 2020, 8:10 p.m.