features | R Documentation |
This function finds features associated with each cluster.
features(doc,cla,cl,HMDB_ID)
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. |
A list of p-value calculated using Fisher test for cluster associted features.
KODAMA.chem.sim
, tree.cutting
, substituentsMet
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.