Class | Bio::PAML::Codeml::PositiveSite |
In: |
lib/bio/appl/paml/codeml/report.rb
|
Parent: | Object |
A record of codon sites, across the sequences in the alignment, showing evidence of positive selection.
This class is used for storing both codeml‘s full Bayesian and naive Bayesian analysis
probability | -> | p |
aaref | [R] | |
omega | [R] | |
position | [R] | |
probability | [R] |
# File lib/bio/appl/paml/codeml/report.rb, line 492 492: def initialize fields 493: @position = fields[0].to_i 494: @aaref = fields[1].to_s 495: @probability = fields[2].to_f 496: @omega = fields[3].to_f 497: end
Return dN/dS (or omega) for this codon
# File lib/bio/appl/paml/codeml/report.rb, line 500 500: def dN_dS 501: omega 502: end