KRVz: KRV test for overall association between host gene expression...

Description Usage Arguments Value References

View source: R/Zhan_misc.R

Description

Broadly applicable to test association between two sets of outcomes. We slightly modify the codes to remove the dependence on PearsonDS library: simply use the builtin pgamma() function to compute p-value.

Usage

1
KRVz(K, L)

Arguments

K

kernel matrix for a set of outcomes (no need to be centered)

L

kernel matrix for another set of outcomes

Value

KRV p-value

References

Zhan, X., Plantinga, A., Zhao, N., Wu, M.C. (2017). A fast small-sample kernel independence test for microbiome community-level association analysis. Biometrics, DOI: 10.1111/biom.12684.

Original R codes: http://onlinelibrary.wiley.com/wol1/doi/10.1111/biom.12684/suppinfo

Guo,B. and Wu,B. (2017) On the fast small-sample kernel independence test for microbiome community-level association analysis. Biometrics, doi:10.1111/biom.12823.


baolinwu/MiRV documentation built on May 28, 2019, 6:37 p.m.