Code Monkey home page Code Monkey logo

Comments (7)

rickhelmus avatar rickhelmus commented on August 25, 2024 1

Hi @hechth,

Nearly all of the algorithms implemented or interfaced in patRoon expect centroided data. KPIC2 is one of them, and as far as I am aware XCMS also expects it. Would you be able to re-run it with centroided data?

In the mean while I will clarify this better in the documentation and see if I can add some input data checks to notify the user.

from patroon.

rickhelmus avatar rickhelmus commented on August 25, 2024

The commits referenced above add code to verify that MS data is centroided and some additional notes to the documentation.

from patroon.

hechth avatar hechth commented on August 25, 2024

I'll check with centroiding the data before whether this works then, thanks for the hints!

from patroon.

hechth avatar hechth commented on August 25, 2024

Still failing, now with a different error message on centroided data:

> fGroups <- patRoon::groupFeaturesKPIC2(features)
Verifying if your data is centroided...
Grouping features with KPIC2... Error in rep(0, curdiff) : invalid 'times' argument
In addition: Warning message:
replacing previous import ‘jsonlite::validate’ by ‘shiny::validate’ when loading ‘KPIC’

from patroon.

rickhelmus avatar rickhelmus commented on August 25, 2024

Hmm... I am afraid this might be a bug in KPIC2 during RT alignment. If you could share a few MS files that trigger this I could try to take a look what is going on and try add a fix to my fork. I guess if you set rtalign=FALSE to groupFeatures() the error will go away.

from patroon.

hechth avatar hechth commented on August 25, 2024

I'll try - I also tried I think finding the features with KPIC but it just seems to be computing forever and gets stuck on 0%.

I can send you more details, but these problems are very likely related to the underlying algorithm, not patRoon itself.

I can play around with it a bit more and create some minimal working example where the error occurs. Thanks for looking into this!

from patroon.

hechth avatar hechth commented on August 25, 2024

Yeah, it works with rtalign=FALSE.

from patroon.

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.