getMpfast: Calculate the statistic M

Description Usage Arguments Value Author(s) References

View source: R/getMpfast.R

Description

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

Usage

1
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


CorDiff documentation built on May 2, 2019, 7:30 a.m.