report_mods {MSnID} | R Documentation

## Lists modification masses in the MSnID object

### Description

Parses out masses from the `modification` column and return them as `table` with counts.

### Usage

        report_mods(object, ...)

### Arguments

`object` | An instance of class "MSnID".
`...` | currently not used

### Value

Counts of each modification mass listed in `modification column`.

### Author(s)

Vladislav A Petyuk vladislav.petyuk@pnnl.gov

### See Also

`add_mod_symbol` `map_mod_sites`

### Examples

    msnidObj <- MSnID(".")
    mzids <- system.file("extdata","phospho.mzid.gz",package="MSnID")
    msnidObj <- read_mzIDs(msnidObj, mzids)
    # reports the masses and number of their occurences
    report_mods(msnidObj)
    # clean-up cache
    unlink(".Rcache", recursive=TRUE)

[Package MSnID version 1.28.0 Index]