Skip to contents

The function runs a modified version of FOCUS's residual calculation

Usage

get_resid(zscores, swld, wcor)

Arguments

zscores

numeric, vector of Z-scores

swld

numeric, LD matrix

wcor

numeric, correlation matrix from estimate_cor

Value

residuals and residualized Z-scores