p_kernel_single | R Documentation |
Compute the p-value for the kernel test
This function takes a diagonal matrix of weights, a data frame of rare variants
and a matrix of Score statistics produced by U_fi_lmd
for ZIP model
or U_phi_mu4zinb
for ZINB model to compute the p-value for the kernel test.
p_kernel_single(wt_matrix2, G_rare, s)
wt_matrix2 |
a diagonal matrix containing the squared weights for all variants |
G_rare |
a data frame containing data of rare variants |
s |
a matrix of the score statistics for each variant from each subject |
the p-value for the kernel test (ZIP-k)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.