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, #prots

Instance Method Details

#negative_q_valueObject



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

def negative_q_value
  self[5]
end

#negative_q_value=(arg) ⇒ Object



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

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=



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

def percolator_score
  self[4]
end

#percolator_score=(score) ⇒ Object



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

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

#probabilityObject

for compatibility with scripts that want this guy



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

def probability
  -self[5]
end

#q_valueObject



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

def q_value
  -self[5]
end