permutation_test {dce}R Documentation

Permutation test for (partial) correlation on non-Gaussian data

Description

Computes the significance of (partial) correlation based on permutations of the observations

Usage

permutation_test(x, y, iter = 1000, fun = pcor, ...)

Arguments

x

wild type data set

y

mutant data set

iter

number of iterations (permutations)

fun

function to compute the statistic, e.g., cor or pcor

...

additional arguments for function 'fun'

Value

matrix of p-values

Examples

x <- matrix(rnorm(100),10,10)
y <- matrix(rnorm(100),10,10)
permutation_test(x,y,iter=10)

[Package dce version 1.0.0 Index]