Skip to content

New/update quantify method #297

@lgatto

Description

@lgatto

Given the new OnDiskMSnExp infrastructure, it is time to upgrade the quantify method. I am considering the following signature (only focusing on the most important arguments for now):

quantify <- function(object, msLevel,
                     reporters,
                     method) 

with the following behaviour:

## msLevel:
## 1 -> see method
## 2 -> see method: either spectral counting (if reporters is
##                  missing) or isobaric labelling (requires reporters)
## 3 -> isobaric labelling, requires reporters

Another possibility would be to have a QuantitationParams class (with essentially the arguments shown above) and pre-defined instances for the most used methods. At this point it feels overkill, but could be a way to more easily extend quantification parametrisation in the future. This could by the way also be useful for xcms.

Another point I am considering is to allow to either returns an MSnSet containing the feature of the MS level defined as argument to quantify (current behaviour), or to return a new OnDiskMSnExp and the quantification matrix (for all feature) would be stored in a matrix in the assayData slot, similar to what xcms does in the XCMSnExp object.

@sgibb @jotsetung - any comments or suggestions?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions