Learn R Programming

ddgraph (version 1.16.0)

Distinguish direct and indirect interactions with Graphical Modelling

Description

Distinguish direct from indirect interactions in gene regulation and infer combinatorial code from highly correlated variables such as transcription factor binding profiles. The package implements the Neighbourhood Consistent PC algorithm (NCPC) and draws Direct Dependence Graphs to represent dependence structure around a target variable. The package also provides a unified interface to other Graphical Modelling (Bayesian Network) packages for distinguishing direct and indirect interactions.

Copy Link

Version

Version

1.16.0

License

GPL-3

Maintainer

Robert Stojnic

Last Published

February 15th, 2017

Functions in ddgraph (1.16.0)

DDGraphEdge-class

An edge in an DDGraph...
entropyFromFreq

Calculate entropy from frequencies of observations for discrete data...
formulaFalseNeg

Generate class labels by a noisy formula with high false negative rate
convertToFactor

Convert data to factor representation
recalculateSVMparams

Calculate SVM hyperparameters based on grid search
makeDDDataSet

Construct an DDDataSet object...
DDGraph-class

Direct Dependence Graph class...
extractCITestResultProperty

Extract CITestResult properties
show,DDGraph-method

show method for DDGraph...
graph.to.bn

Convert graphNEL and friends representation to bn...
chisq.val

Get the value of chi-square statistics...
classLabels,FurlongDataSet-method

Class labels
customPlotPCAlgo

Custom plotting for pcalgo
makeNCPCRobustness

Make a new NCPCRobustness object...
CITestResultID

Provide a unique ID composing of target, source and conditioning set (all names)...
adjC.allVarInx

Get all the variable indicies in adjC, both target and condSet...
calculateNCPCRobustnessStats

Calculate NCPCRobustness statistics...
mcX2CLoop

the inner loop for myX2c is implemented in C...
plot,DDGraph,missing-method

Plot DDGraphs using RGraphviz...
adjC.allVarNames

Get all the variable names in adjC, both target and condSet...
ncpcResampling

NCPC Robustness from resampling
convertPvalueToColorIndex

Convert P-values to color index...
mesoBin

A list of binary DDDataSet objects.
calcDependence

Dependence with target variable
foldChangeFromFreq

Calculate the fold change when x is of size two (always show it >1)...
adjC.condSetSize

Returns the total size of conditioning set for adjC (i...
estimateNetworkDistribution

Estimate network distribution parameters
DDDataSet-class

Dataset class for Direct Dependence Graphs...
toDDDataSet,FurlongDataSet-method

DDDataSet object from FurlongDataSet
CITestResult-class

Data class to store the results of a conditional independence test...
activePaths

Find all active paths in a (partially) directed graph...
mapEnrichmentToColors

Map enrichment values to colors...
plotSVMPerformance

Plot SVM performance into a pdf file
names,FurlongDataSet-method

Names of variables
initialize,DDGraph-method

Construct new DDGraph object...
show,CITestResult-method

show method for CITestResult...
blockingNodes

Find all such nodes in neighbourhood of source node that are blocking at least one active path leading to another node...
ddgraph-package

ddgraph package overview
extract.targetInx

Extract all values of targetInx from a list of CITestResult...
ncpc

Make a Direct Dependence Graph using the NCPC algorithm...
random.bn.fit

Generate a random bn.fit network
independent.contributions.formula

Generate class labels by independent contributions of two variables
prob.distr.unif

Uniform distribution for random.bn.fit
pcalgNBR

Find the neighbourhood for the PC algorithm output...
names,DDDataSet-method

Names of variables (+class)
pValueAfterMultipleTesting

Multiple testing correction procedure for ncpc()
show,DDDataSet-method

show method for DDDataSet...
predSVM

Calculate the decision value of an SVM model
svmFeatureSelectionLOOCV

Nested variable selection using LOOCV
plotPCalg

Plot the network inferred by the PC algorithm
myX2c

The Monte-Carlo chi-square test...
mcX2Test

Wrapper around the bnlearn mc-x2 test
names,DDGraph-method

Names of properties
show,DDGraphEdge-method

show method for DDGraphEdge...
operators-DDGraph

access a property by name...
operators-DDDataSet

access a specific variable in the dataset by name...
adjC.targetInx

Get all the targetInx values in adjC...
ciTest,DDDataSet-method

Do conditional independence test on DDDataSet...
blockingVariables

Version of blockingNodes() for DDGraphs...
adjC.toIDs

Make a list of conditional independence tests and converts them to IDs...
biased.graph

Generate random network with degree distribution
biased.bn.fit

Random network with a biased degree distribution
color.legend.DDGraph

Plot color coding legend
combinationsTest

Significant combinations of variables
datasetName,DDDataSet-method

Dataset name...
NCPCRobustness-class

NCPC resampling robustness...
independent.contributions.formula.mul

Generate class labels by independent contributions of two variables
dataType,DDDataSet-method

Return data type
FurlongDataSet-class

Data class for the Furlong dataset...
CITestResultVar

Return a string representation of a variable represented with this CITest...
logseq

Generate sequence in log scale
loocv

Leave-one-out cross validation
is.binary

Check if data structure has binary data in it
names,CITestResult-method

Names of slots that can be accessed with $ notation...
initialize,DDDataSet-method

Construct new DDDataSet object...
prob.distr.norm

Normal distribution function for random.bn.fit
plotBNLearn

A custom plotting function for the BNlearn graphs...
operators-CITestResult

Access slots using the dollar notation...
mcMITest

Wrapper around the bnlearn mc-x2 test
rawData,DDDataSet-method

Raw data.frame with data
readFurlongData

Read the Furlong Dataset
signalMatrix,FurlongDataSet-method

Raw values
mesoCont

A list of continuous DDDataSet objects.
mapEnrichmentToColorsDual

Map enrichment values into two different palettes for enriched/depleted variables...
mcX2TestB50k

Wrapper around the bnlearn mc-x2 test (B=50k)
variableNames,DDDataSet-method

Names of variables (-class)
toyExample

A binary fictional toy example DDDataSet object.
pcalgMB

Find the markov blanket for the PC algorithm output...