gini: Gini Correlation Coefficient

Description Usage Examples

View source: R/RcppExports.R

Description

For each of the edges calculate the gini correlation coefficient. If it is greater than statCutoff, also calculate a p-value by doing bootstrapIterations random permutations of the expression data. Returns an R data.frame containing source ,target, gini, and pval columns

Usage

1
gini(edges, expression, bootstrapIterations, statCutoff)

Examples

1
2
3
edges <- read.delim("data/network.txt")
expr <- as.matrix(read.delim("data/expression.txt", row.names = 1))
gini(edges, expr, 10000, 0.5)

warelab/NECorr documentation built on May 17, 2019, 1:59 p.m.