connectGenes: connectGenes

View source: R/utils.R

connectGenesR Documentation

connectGenes

Description

Connect genes by words

Usage

connectGenes(nets, query_word, return_tbl_graph = FALSE, neighbors = FALSE)

Arguments

nets

named list of nets (if no names are given, automatically set)

query_word

word to connect

return_tbl_graph

return tbl_graph

neighbors

obtain neighbors words for queried words, default to FALSE

Details

When an interesting word is found in two or more networks, connect the words and gene names and return the graph. Note that genePlot must be set to TRUE in all the networks.

Value

igraph object

Examples

n1 <- refseq(c("IRF3","PNKP","DDX41","ERCC1","ERCC2","XRCC1"), genePlot=TRUE) 
n2 <- refseq(c("IRF3","PNKP","DDX41","ERCC1","ERCC2","XRCC1"), genePlot=TRUE)
connectGenes(list(n1, n2), query_word="dna")

noriakis/wcGeneSummary documentation built on April 22, 2024, 7:12 a.m.