class Mspire::Mzml::ProcessingMethod

MAY supply a child term of MS:1000630 (data processing parameter) one or more times

e.g.: MS:1000629 (low intensity threshold)
e.g.: MS:1000631 (high intensity threshold)
e.g.: MS:1000747 (completion time)
e.g.: MS:1000787 (inclusive low intensity threshold)
e.g.: MS:1000788 (inclusive high intensity threshold)

MUST supply a child term of MS:1000452 (data transformation) one or more times

e.g.: MS:1000033 (deisotoping)
e.g.: MS:1000034 (charge deconvolution)
e.g.: MS:1000544 (Conversion to mzML)
e.g.: MS:1000545 (Conversion to mzXML)
e.g.: MS:1000546 (Conversion to mzData)
e.g.: MS:1000593 (baseline reduction)
e.g.: MS:1000594 (low intensity data point removal)
e.g.: MS:1000741 (Conversion to dta)
e.g.: MS:1000745 (retention time alignment)
e.g.: MS:1000746 (high intensity data point removal)

Attributes

software[RW]

Public Class Methods

new(software) { |self| ... } click to toggle source
# File lib/mspire/mzml/processing_method.rb, line 29
def initialize(software)
  @software = software
  params_init
  if block_given?
    yield self 
  end
end

Public Instance Methods

to_xml(builder, order) click to toggle source
Calls superclass method Mspire::Paramable#to_xml
# File lib/mspire/mzml/processing_method.rb, line 37
def to_xml(builder, order)
  builder.processingMethod(order: order, softwareRef: software.id) do |pm_n|
    super(pm_n) # params
  end
  builder
end