Learn R Programming

NetworkToolbox (version 0.0.1.0)

ECOplusMaST: ECO+MaST Network Filter

Description

Applies the ECO neural network filtering method combined with the MaST filtering method

Usage

ECOplusMaST(data, weighted = TRUE, binary = FALSE)

Arguments

data

Can be a dataset or a correlation matrix

weighted

Should network be weighted? Defaults to TRUE. Set FALSE to produce an unweighted (binary) network

binary

Is dataset dichotomous? Defaults to FALSE. Set TRUE if dataset is dichotomous (tetrachoric correlations are computed)

Value

A sparse association matrix

References

Fallani, F. D. V., Latora, V., & Chavez, M. (2017). A topological criterion for filtering information in complex brain networks. PLoS Computational Biology, 13(1), e1005305.

Examples

Run this code
# NOT RUN {
weighted_ECOplusMaSTnetwork<-ECOplusMaST(data)

weighted_binary_ECOplusMaSTnetwork<-ECOplusMaST(data,binary=TRUE)

unweighted_binary_ECOplusMaSTnetwork<-ECOplusMaST(data,weighted=FALSE)

unweighted_binary_ECOplusMaSTnetwork<-ECOplusMaST(data,binary=TRUE,weighted=FALSE)
# }

Run the code above in your browser using DataLab