MiHC.stat | R Documentation |
This function produces the values of the test statistics of uHC(h)'s and wHC(h)'s.
MiHC.stat(Zs, hs=hs, Ws=Ws)
Zs |
The Z-score values for individual OTUs. |
hs |
A vector of the candidate modulation schema for lower sparsity levels. Default is hc=c(1,3,5,7,9). |
Ws |
A vector of the weights for invidual OTUs. |
The values of the test statistics of uHC(h)'s and wHC(h)'s.
Hyunwook Koh
Koh and Zhao. A powerful microbial group association test based on the higher criticism analysis for sparse microbial association signals. (Under revision).
# Import requisite R packages
require(cluster)
require(permute)
require(phyloseq)
Zs <- rnorm(50)
hs <- c(1,3,5,7,9)
Ws <- runif(50)
MiHC.stat(Zs, hs=hs, Ws=Ws)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.