features {MetChem} | R Documentation |
Cluster features extraction
Description
This function finds features associated with each cluster.
Usage
features(doc,cla,cl,HMDB_ID)
Arguments
doc |
The output of the |
cla |
The output of |
cl |
The output of the |
HMDB_ID |
A vector of HMDB IDs associated with their chemical name. |
Value
A list of p-value calculated using Fisher test for cluster associted features.
See Also
KODAMA.chem.sim
, tree.cutting
, substituentsMet
Examples
data(Metabolites)
SMILES=Metabolites$SMILES
names(SMILES)=Metabolites$name
HMDB=Metabolites$HMDB
names(HMDB)=Metabolites$name
res=KODAMA.chem.sim(SMILES)
cl=allbranches(res$hclust)
cla=substituentsMet(Metabolites$readMet)
f=features(Metabolites$readMet,cla,cl,HMDB)
[Package MetChem version 0.4 Index]