Sha256: 4320195a54e3cc8b9c858290da4cd857aee17dd662e3efd8004071fe041dc1ad

Contents?: true

Size: 643 Bytes

Versions: 4

Compression:

Stored size: 643 Bytes

Contents

Fabricator(:pwm, class_name: Bioinform::PWM) do
  initialize_with{ Bioinform::PWM.new(matrix: [[1,2,3,4],[5,6,7,8]], name: 'PWM_name')}
end

# It has name 'PCM_name' because name isn't converted during #to_pwm
Fabricator(:pwm_by_pcm, class_name: Bioinform::PWM) do
  initialize_with{ Fabricate(:pcm).to_pwm }
end

Fabricator(:rounded_upto_3_digits_pwm_by_pcm_with_pseudocount_1, from: :pwm) do
  matrix [[-0.47, 0.118, 0.486, -0.47],[0.754, -2.079, -0.47, 0.118]]
end

Fabricator(:rounded_upto_3_digits_pwm_by_pcm_with_pseudocount_10, from: :pwm) do
  matrix [[-0.194, 0.057, 0.258, -0.194],[0.425, -0.531, -0.194, 0.057]]
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bioinform-0.1.12 spec/fabricators/pwm_fabricator.rb
bioinform-0.1.11 spec/fabricators/pwm_fabricator.rb
bioinform-0.1.10 spec/fabricators/pwm_fabricator.rb
bioinform-0.1.9 spec/fabricators/pwm_fabricator.rb