KRV: Compute the kernel independence test statistic between two...

Description Usage Arguments Value References

View source: R/D2GK.R

Description

For symmetric kernel matrices, we can efficiently compute the kernel test statistic as a form of correlation, (∑_{i,j} X_{ij}Y_{ij})/√{(∑_{ij}X_{ij}^2)(∑_{ij}Y_{ij}^2)} .

Usage

1
KRV(KX, KY)

Arguments

KX

centered symmetric kernel matrix for a set of outcomes

KY

centered symmetric kernel matrix for another set of outcomes

Value

kernel test statistic

References

Minas, C., Curry, E., Montana, G., 2013. A distance-based test of association between paired heterogeneous genomic data. Bioinformatics 29, 2555<e2><80><93>2563.

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.

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.