CreateCCG: create a Computational Causal Graph (CCG)

Description Usage Arguments Value Note References Examples

View source: R/CreateCCG.r

Description

Creates a computational causal graph from a network file.

Usage

1
CreateCCG(filename, nodeInclusionFile = NULL, excludeNodesInFile = TRUE)

Arguments

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.

Value

an igraph object containing the CCG.

Note

CreateCG and CreateCCG create causal and computational causal graphs respectively.

References

L Chindelevitch et al. Causal reasoning on biological networks: Interpreting transcriptional changes. Bioinformatics, 28(8):1114-21, 2012.

Examples

1
2
3
4
# get path to example .sif file
network <- system.file(package='CausalR', 'extdata', 'testNetwork.sif')
#create ccg
ccg = CreateCCG(network)

CausalR documentation built on Nov. 8, 2020, 5:25 p.m.