Estimates the correlation between correlated p-values on the Z-score scale. Avoids the assumption that the correlation between p-values is constant across loci. Instead, bootstrap is used to calculate locus-specific estimates of the correlation between p-values.
BootCorr(y, G, X, k = 3/8, B = 100, parallel = F)
Numeric phenotype vector.
Obs by snp genotype matrix.
Model matrix of covariates.
Offset applied during rank-normalization.
Bootstrap samples for correlation estimation.
Run bootstraps in parallel? Must register parallel backend first.
Numeric matrix of correlation estimates, one per locus (column) in G.