Class: MS::Sequest::Sqt::Match::Percolator

Inherits:
MS::Sequest::Sqt::Match show all
Defined in:
lib/ms/sequest/sqt.rb

Constant Summary

Constants inherited from MS::Sequest::Sqt::Match

Leader

Instance Method Summary collapse

Methods inherited from MS::Sequest::Sqt::Match

#from_line, #proteins

Instance Method Details

#negative_q_valueObject



361
362
363
# File 'lib/ms/sequest/sqt.rb', line 361

def negative_q_value
  self[5]
end

#negative_q_value=(arg) ⇒ Object



364
365
366
# File 'lib/ms/sequest/sqt.rb', line 364

def negative_q_value=(arg)
  self[5] = arg
end

#percolator_scoreObject

we will keep access to these old terms since we can then access routines that sort on xcorr… undef_method :xcorr undef_method :xcorr= undef_method :sp undef_method :sp=



355
356
357
# File 'lib/ms/sequest/sqt.rb', line 355

def percolator_score
  self[4]
end

#percolator_score=(score) ⇒ Object



358
359
360
# File 'lib/ms/sequest/sqt.rb', line 358

def percolator_score=(score)
  self[4] = score
end

#probabilityObject

for compatibility with scripts that want this guy



371
372
373
# File 'lib/ms/sequest/sqt.rb', line 371

def probability
  -self[5]
end

#q_valueObject



367
368
369
# File 'lib/ms/sequest/sqt.rb', line 367

def q_value
  -self[5]
end