CreateCCG {CausalR} | R Documentation |
Creates a computational causal graph from a network file.
CreateCCG(filename, nodeInclusionFile = NULL, excludeNodesInFile = TRUE)
filename |
file name of the network file (in .sif file format) |
nodeInclusionFile |
optional path to a text file listing nodes to exclude in the CCG (or include - see argument excludeNodesInFile). |
excludeNodesInFile |
flag to determine if nodes in inclusion file should be taken as nodes to include or nodes to exclude. Default is TRUE to exclude. |
an igraph object containing the CCG.
CreateCG and CreateCCG create causal and computational causal graphs respectively.
L Chindelevitch et al. Causal reasoning on biological networks: Interpreting transcriptional changes. Bioinformatics, 28(8):1114-21, 2012.
# get path to example .sif file network <- system.file(package='CausalR', 'extdata', 'testNetwork.sif') #create ccg ccg = CreateCCG(network)