Learn R Programming

MetChem (version 0.5)

WMCSA: Weighted Metabolite Chemical Structural Analysis

Description

Summarize metabolites concetration in each of identified clusters using the module eigenvalue (eigen-metabolite) for calculating module membership measures.

Usage

WMCSA(data,cl)

Value

This function returns a matrix as output represent similarity score of metabolites within the same module among different samples.

Arguments

data

dataset of different metabolite concentration in differnt samples.

cl

The output of the allbranches function containing the module memberships.

See Also

KODAMA.chem.sim, tree.cutting

Examples

Run this code
# \donttest{

data(Metabolites)

SMILES=Metabolites$SMILES
names(SMILES)=Metabolites$name
res=KODAMA.chem.sim(SMILES)  
cl=allbranches(res$hclust)
ww=WMCSA(Metabolites$concentration,cl)


# }

Run the code above in your browser using DataLab