openmolecules.org

 
Home » DataWarrior » Cheminformatics » can you give an example on how to use refvalue()...
Re: can you give an example on how to use refvalue()... [message #69 is a reply to message #68] Thu, 02 July 2015 09:07 Go to previous messageGo to previous message
chemist69 is currently offline  chemist69
Messages: 7
Registered: June 2015
Location: Germany
Junior Member
Dear Thomas,

thanks a lot for coming back to me, DataWarrior is a great project!
refvalue takes four parameters. In the example that you give above, what would be the call to the function?

My concrete case involves a set of compounds which are categorized into scaffold fragments. Every compound belongs only to one fragment and the fragments are uniquely named and hierarchically dependent on each other:
Hierarchy    scaf_smiles    cpd_smiles    cpd_id    Activity
12    C1CC=CN1    Cc1cc[nH]c1    1    5
12    C1CC=CN1    O=C(O)c1cc[nH]c1    2    7
012_013    c1ccc2[nH]ccc2c1    O=C(O)c1c[nH]c2ccccc12    3    6
012_013    c1ccc2[nH]ccc2c1    NC(=O)c1c[nH]c2ccccc12    4    8
012_013    c1ccc2[nH]ccc2c1    COc2ccc1[nH]cc(C(N)=O)c1c2    5    9

I would like to display the data in a tree-like way so that the scaffold fragments (column Hierarchy) are displayed as nodes and the individual compounds are leaves in the tree.
Would that be possible?

Many thanks again for your help!

Kind regards,
Axel


If you're not part of the solution - you're part of the precipitate.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Next Topic: Show multiple values as...
Goto Forum:
  


Current Time: Fri Nov 22 12:02:31 CET 2024

Total time taken to generate the page: 0.03932 seconds