getMpfast {CorDiff}R Documentation

Calculate the statistic M

Description

This function provides the permutation algorithm to calculate the maximum statistic M

Usage

getMpfast(y, x, num.perms = 1000)

Arguments

y

Experimental condition/phenotypes, it can be discrete or continuous

x

The data matrix, each column is for each sample and each row is for different feature.

num.perms

You can specifiy the number of permutation in the calculation. The default is 1000.

Value

Mobs

M statistic

pval

p value under permutation

Author(s)

Yi-Hui Zhou

References

Set-based differential covariance testing for genomics


[Package CorDiff version 1.0 Index]