R/z.s.R

Defines functions z.s

Documented in z.s

z.s <-
function(a, b, m1, m2) {
cat("Calculation of z", fill=TRUE)
z <- ((apply(a, 1, sum)/m1) - (apply(b, 1, sum)/m2))  / sqrt ((apply(a, 1, var)/m1) + (apply(b, 1, var)/m1))
return(z)
}

Try the degenes package in your browser

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

degenes documentation built on May 30, 2017, 5:08 a.m.