Media_pvalue: functions to calculate pvalue

Description Usage Arguments Value Examples

Description

This function is created to calculate p values about MeDiA_k

Usage

1
Media_pvalue(iTest,jTest,times,selectvec)

Arguments

iTest

a numeric matrix

jTest

a numeric matrix which has the same rows as iTest

selectvec

an integer vector which contains a series of K values you want to get

times

an integer indicates permutation times

Value

Media_pvalue(iTest,jTest,times,selectvec) return a numeric vectors contains p values based on the selectvec(K value you want to select)

Examples

1
2
3
4
5
iTest <- matrix(rnorm(1000),100)
jTest<- matrix(rnorm(200),100)
times<- 100
selectvec <- c(1:10)
Media_pvalue(iTest,jTest,times,selectvec)


Search within the MediaK package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.