View source: R/mf.rsamp.mutualinfo_test.statistic.R
Resampling test for significance of mutual information between alpha-diversity index and some feature selection method. This function uses MIPermute internally without permutation (this is controlled by setting *n.sim=1*)
1 2 3 4 5 6 7 8 9 10 11 12 13 | mf.rsamp.mutualinfo_test(
var.x = "BVAS",
data = pData.obj.aggTaxa.ADS,
count.table = MRcounts(obj.aggTaxa.ADS),
ori.count.table = MRcounts(obj.aggTaxa),
itt.rsamp = itt.rsamp.wilcox,
func.stat = vegan::diversity,
MIPermute.method = "emp",
MIPermute.discretize.X = "equalfreq",
MIPermute.discretize.Y = "equalfreq",
MIPermute.alpha = 0.6,
...
)
|
var.x |
Column name of phenotype data. |
data |
A data.frame-class object in which phenotype data were input. |
count.table |
A data.frame-class object of selected features. |
ori.count.table |
A data.frame-class object of features without selection. |
itt.rsamp |
= itt.rsamp.wilcox, |
func.stat |
= vegan::diversity, |
... |
Arguments to be passed to a function in func.stat and MIPermute function. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.