Description Usage Arguments Value Author(s)
View source: R/add.to.graphs.R
Add TF to CpG edges and trans gene to SNP edges to graphs. This function assumes that you have an object tfbs.ann in the environment. It is not passed as argument (bad style) becuase it is too big (passing by value).
1 | add.to.graphs(graphs, sentinel, trans.genes, trans.cpgs, tfbs.ann)
|
graphs |
list of graph objects to add nodes and edges to |
sentinel |
character id of the sentinel SNP |
trans.genes |
character vector of genes in the trans locus |
trans.cpgs |
character vector of CpGs with trans meQTLs |
tfbs.ann |
logical indicator matrix with CpGs in the rows and transcription factors as columns |
list of graph objects with the nodes and edges added
Matthias Heinig <matthias.heinig@helmholtz-muenchen.de>
—————————————————————————–
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.