Skip to content

[Bioc-devel] Fwd: proteomics/MS generic

2 messages · Laurent Gatto

#
Dear proteomics developers,

There is now a new ProtGenerics package that defines generic functions
that are used in different MS/proteomics packages. Currently, it defines

  ## previously defined in mzR
  setGeneric("psms", function(object, ...) standardGeneric("psms"))
  setGeneric("peaks", function(object, ...) standardGeneric("peaks")) 
  setGeneric("modifications", function(object, ...) standardGeneric("modifications"))
  setGeneric("database", function(object, ...) standardGeneric("database"))
  
  ## previously defined in MSnbase
  setGeneric("rtime", function(object, ...) standardGeneric("rtime")) 
  setGeneric("tic", function(object, ...) standardGeneric("tic"))
  setGeneric("spectra", function(object, ...) standardGeneric("spectra"))
  setGeneric("intensity", function(object, ...) standardGeneric("intensity"))
  setGeneric("mz", function(object, ...) standardGeneric("mz"))
  
  ## new 
  setGeneric("peptides", function(object, ...) standardGeneric("peptides"))
  setGeneric("proteins", function(object, ...) standardGeneric("proteins"))
  setGeneric("accessions", function(object, ...) standardGeneric("accessions"))
  setGeneric("scans", function(object, ...) standardGeneric("scans"))
  setGeneric("mass", function(object, ...) standardGeneric("mass"))
  setGeneric("ions", function(object, ...) standardGeneric("ions"))
  setGeneric("chromatograms", function(object, ...) standardGeneric("chromatograms")) 

If there is a need for additional generic functions in ProtGenerics,
please send a PR on the github page or open an issue. If any of the
generics above have a scope outside of proteomics, they will be moved to
BiocGenerics.

Best wishes,

Laurent
On 14 January 2015 19:03, Laurent Gatto wrote:

            

  
    
#
On 28 February 2015 15:24, Laurent Gatto wrote:

            
URL: https://github.com/lgatto/ProtGenerics