This function takes a list of directed graph objects and plots the outdegree against the indegree for each vertex. A binomial test is used to determine if there is a highly disproportionate indegree or outdegree given a pvalue threshold (the binomial test presumes p = 0.5).
1  inOutScatterCharts(dataGraphs, pThresh=0.01, pLevels=1e4)

dataGraphs 
A named list of directed graphNELs 
pThresh 
The twosided pvalue threshold for the binomial testing for potentially biased nodes 
pLevels 
Figure out what this does 
For each directed data graph, this function generates 3 pdf scatterplots and 1 eps scatter plot. The pdf files are: 1. A scatter plot of each nodes out vs indegree where points outside the staircase bundaries are those rejected in the binomial test. 2. A scatter plot of each nodes out vs indegree scaled by sqrt where points outside the conic region are those rejected in the binomial test. 3. A histogram for the distribution of pvalues for each node
The eps file contains the same information as the second pdf file.
T Chiang
1 2 3 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.