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

View source: R/graphs.R

graphFromSynaptomeGeneTableR Documentation

Utility function to create network from synaptome.db data

Description

Utility function to create network from synaptome.db data

Usage

graphFromSynaptomeGeneTable(geneTable, LCC = TRUE, simplify = TRUE)

Arguments

geneTable

data.frame described in getGenesByID

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<-graphFromSynaptomeGeneTable(geneTable)

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