R/normalizeSxy.R

# This function normalizes regression coefficients
# using their standard errors 'se' and the number of samples 'N'.


normalizeSxy <- function(S_XY_raw, se, N) {

    S_XY =  (1/sqrt(N)) * (S_XY_raw/se)

    return(S_XY)
}
acichonska/metaCCA documentation built on June 24, 2019, 12:36 a.m.