Computes z-scores of molecular traits

compute_gene_z(z_snp, weights, ncore = 1, logfile = NULL)

Arguments

z_snp

A data frame with columns: "id", "z", giving the z-scores for SNPs.

weights

a list of preprocessed weights.

ncore

The number of cores used to parallelize computation over weights.

logfile

The log filename. If NULL, print log info on screen.

Value

a data frame of z-scores of molecular traits