Class: Mspire::Sequest::Sqt::Match::Percolator

Inherits:
Mspire::Sequest::Sqt::Match show all
Defined in:
lib/mspire/sequest/sqt.rb

Constant Summary

Constants inherited from Mspire::Sequest::Sqt::Match

Leader

Instance Method Summary collapse

Methods inherited from Mspire::Sequest::Sqt::Match

#from_line, #proteins

Instance Method Details

#negative_q_valueObject



359
360
361
# File 'lib/mspire/sequest/sqt.rb', line 359

def negative_q_value
  self[5]
end

#negative_q_value=(arg) ⇒ Object



362
363
364
# File 'lib/mspire/sequest/sqt.rb', line 362

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=



353
354
355
# File 'lib/mspire/sequest/sqt.rb', line 353

def percolator_score
  self[4]
end

#percolator_score=(score) ⇒ Object



356
357
358
# File 'lib/mspire/sequest/sqt.rb', line 356

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

#probabilityObject

for compatibility with scripts that want this guy



369
370
371
# File 'lib/mspire/sequest/sqt.rb', line 369

def probability
  -self[5]
end

#q_valueObject



365
366
367
# File 'lib/mspire/sequest/sqt.rb', line 365

def q_value
  -self[5]
end