R/AFcorMI.R

Defines functions AFcorMI

Documented in AFcorMI

#read in prediction fx. It was named version C, now renamed because we'll only use this fx later.

AFcorMI=function(r,m) {
	D=0.43*m^(-0.3)
	epsilon=D^2.2
	out=log(1+epsilon-r^2)/log(epsilon)*(1-D)+D
	out
}

Try the WGCNA package in your browser

Any scripts or data that you put into this service are public.

WGCNA documentation built on Jan. 22, 2023, 1:34 a.m.