Coder Social home page Coder Social logo

Comments (14)

lecorguille avatar lecorguille commented on June 4, 2024

Are we agree that it's important during the peaklist export (currently camera.annotate, camera.combinexannot and soon xcms.fillpeaks) ?

If so, do you want that those redundant ion identifiers to be spotted and corrected automatically by increasing the number of digit?

from tools-metabolomics.

lecorguille avatar lecorguille commented on June 4, 2024

Crossref: workflow4metabolomics/camera.archive#11

from tools-metabolomics.

lecorguille avatar lecorguille commented on June 4, 2024

Done for FillPeaks-2.0.8: https://github.com/workflow4metabolomics/xcms/blob/bfb80b96ab0497a8d1fd853b779a26897f765929/galaxy/xcms_fillpeaks/abims_xcms_fillPeaks.xml#L45

from tools-metabolomics.

yguitton avatar yguitton commented on June 4, 2024

just a note they're is a function called xcmss:::groupnames in xcms that can be used (with function(xcmsSet object, mzdec = 0, rtdec = 0, template = NULL) with that even if a duplicate name is found it will be converted to MxTy_z

from tools-metabolomics.

lecorguille avatar lecorguille commented on June 4, 2024

@yguitton Good suggestion but ... how do you use groupnames

I try without template

ids <- groupnames(xset, mzdec = numDigitsMZ, rtdec = numDigitsRT, template = NULL)

but:

|  Error in strsplit(template[1], "[T_]") : non-character argument
|  Calls: getPeaklistW4M -> groupnames -> groupnames -> .local -> strsplit

Help is welcome because they isn't so much documentation 👎

from tools-metabolomics.

lecorguille avatar lecorguille commented on June 4, 2024

@melpetera
Is make.unique is enough? here

ids <- make.unique(paste0("M",round(groups[,1],numDigitsMZ),"T",round(groups[,4],numDigitsRT)))

from tools-metabolomics.

lecorguille avatar lecorguille commented on June 4, 2024

@melpetera @yguitton UP!

from tools-metabolomics.

melpetera avatar melpetera commented on June 4, 2024

About make.unique: I would add the sep="_" argument because identifiers already have points in it.
But I think this can do!

from tools-metabolomics.

lecorguille avatar lecorguille commented on June 4, 2024

From xcms.group 2.1.1 and xcms.fillpeaks 2.1.1
as discussed here: #36

from tools-metabolomics.

lecorguille avatar lecorguille commented on June 4, 2024

docker run -d -p 8080:80 quay.io/workflow4metabolomics/galaxy-workflow4metabolomics:beta

from tools-metabolomics.

lecorguille avatar lecorguille commented on June 4, 2024

Available within the dev galaxy instance

from tools-metabolomics.

melpetera avatar melpetera commented on June 4, 2024

Tested on dev galaxy instance!
It is ok for me.

from tools-metabolomics.

lecorguille avatar lecorguille commented on June 4, 2024

from tools-metabolomics.

lecorguille avatar lecorguille commented on June 4, 2024

Validated

from tools-metabolomics.

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.