p_kernel_single {ZIM4rv} | R Documentation |
p_kernel_single
Description
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.
Usage
p_kernel_single(wt_matrix2, G_rare, s)
Arguments
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 |
Value
the p-value for the kernel test (ZIP-k)
[Package ZIM4rv version 0.1.1 Index]