Class: Bioinform::WordwiseBackground
Constant Summary
collapse
- UniformFrequencies =
[0.25, 0.25, 0.25, 0.25]
- WordwiseCounts =
[1, 1, 1, 1]
Constants included
from Background
Background::Uniform, Background::Wordwise
Instance Method Summary
collapse
Methods included from Background
from_frequencies, from_gc_content, from_string, uniform, wordwise
#mean, #mean_square, #symmetric?
Instance Method Details
#==(other) ⇒ Object
84
85
86
|
# File 'lib/bioinform/background.rb', line 84
def ==(other)
self.class == other.class
end
|
#counts ⇒ Object
80
|
# File 'lib/bioinform/background.rb', line 80
def counts; WordwiseCounts; end
|
#to_s ⇒ Object
88
89
90
|
# File 'lib/bioinform/background.rb', line 88
def to_s
'wordwise'
end
|
#volume ⇒ Object
81
|
# File 'lib/bioinform/background.rb', line 81
def volume; 4; end
|
#wordwise? ⇒ Boolean
82
|
# File 'lib/bioinform/background.rb', line 82
def wordwise?; true; end
|