graphFromSynaptomeByEntrez: Utility function to create network from 'synaptome.db' data

View source: R/graphs.R

graphFromSynaptomeByEntrezR Documentation

Utility function to create network from synaptome.db data

Description

Utility function to create network from synaptome.db data

Usage

graphFromSynaptomeByEntrez(entrez, LCC = TRUE, simplify = TRUE)

Arguments

entrez

vector of EntrezIDs for network vertices

LCC

if TRUE only largest connected component is returned

simplify

if TRUE loops and multiple edges will be removed

Value

network defined by the gene table

Examples

library(synaptome.db)
cid<-match('Presynaptic', getCompartments()$Name)
geneTable<-getAllGenes4Compartment(cid)
gg<-graphFromSynaptomeByEntrez(geneTable$HumanEntrez)

lptolik/synaptome.db documentation built on Sept. 13, 2023, 2:50 p.m.