Generate metabolites-metabolites network

getmmnet(meta, cutoff = 0.9, m = NULL, name = NULL, ...)

Arguments

meta

metabolites dataframe with row as metabolites/peaks and column as samples

cutoff

correlation coefficient cutoff

m

value or vector, specific metabolite or peak to its export network

name

export gml file for Cytoscape

...

other parameters for `cor`

Value

list with index of metabolites clusters, metabolites clusters data and edge table

Examples

data(meta)
mm <- getmmnet(meta)
#> 11 metabolites correlation network clusters found
#> 152 out of 177 metabolites have no correlation with other metabolites