Code Monkey home page Code Monkey logo

Comments (6)

stanstrup avatar stanstrup commented on August 16, 2024

Sounds very reasonable to me. so XCompDb Could basically be any info you wanted to add?

from compounddb.

jorainer avatar jorainer commented on August 16, 2024

That's the plan. Having a base CompDb class and then e.g. a RtimeCompDb class that provides in addition retention times for some of the compounds available in CompDb. In such a RtimeCompDb users could put their own data and perform an annotation based on m/z and rtime. The benefit I think is that we don't have to think of all possible scenarios for the class/database layout. The base layout should simply reflect what is publicly available, and we build on that and extend it (without altering the base layout). Thus it's somehow like object oriented programming.

from compounddb.

stanstrup avatar stanstrup commented on August 16, 2024

But RtimeCompDb implies a specific object for RT right? What if you wanted to add random annotation? From whatever prediction tool for example?

from compounddb.

jorainer avatar jorainer commented on August 16, 2024

The rtime was just an example - you could have additional objects/classes, I would not want to limit to e.g. the RtimeCompDb as only class. The idea is to have several classes which could be sort of plugged-in to the annotation process.

from compounddb.

stanstrup avatar stanstrup commented on August 16, 2024

Got it. So content specific class (not an attach whatever data.frame class).
Yes this would be very nice.

Perhaps there could be a formal way to link feature tables entries and CompDb entries?

from compounddb.

jorainer avatar jorainer commented on August 16, 2024

This is now implemented with the CompDb and the IonDb.

from compounddb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.