ant {ANTs}R Documentation

ANT diagnostic for permuted statistics

Description

ANT method to make a diagnostic of all ANT permutation tests. This method adapts the diagnostic results according to the data input. The output is adapted to the type of test run. However, some outputs are common to all tests.

Usage

ant(x, progress = FALSE)

Arguments

x

an ANT object from functions: stat.t, stat.c, stat.lm, stat.glm, stat.glmm pr a numeric vector or a data frame with only numeric values.

progress

a Boolean indicating if functions output should be printed in addition to the return object.

Value

A list of two elements fot stat.cor, stat.t functions:

#' A list of four elements fot stat.lm, stat.glm, stat.glmm functions:

Author(s)

Sebastian Sosa, Ivan Puga-Gonzalez.

Examples

t=met.strength(sim.m,sim.df,1) # Computing network metric
t=perm.net.nl(t,labels='age',rf=NULL,nperm=10,progress=FALSE) # Node label permutations
r.c=stat.cor(t,'age','strength',progress=FALSE) # Permuted correlation test
r=ant(r.c)

[Package ANTs version 0.0.16 Index]