rbbt-dm 1.1.36 → 1.1.37
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbbt/statistics/fdr.rb +3 -3
- data/share/R/MA.R +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71fdaa734ed3b4e8184825c24afac4892c4c59f4
|
4
|
+
data.tar.gz: e592516363b8af1c1dcf10fc44ac7536d2f2befc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed5bfa1e2425957a311e3df4302717a3b56201c94f6dbb0d04dc8534f45336f29e8054b4ed9c63751bf381069b4dfcc0640612cc151e95c69064986e45eece13
|
7
|
+
data.tar.gz: 65f9824324f40e3e34fa7b34c8db8db27c979359a601f397490d75dc6857e91760eccb53ddcd82141c625cf0a6ed0c407f82fc84d3607634558a49072464fd3b
|
data/lib/rbbt/statistics/fdr.rb
CHANGED
@@ -158,7 +158,7 @@ module FDR
|
|
158
158
|
|
159
159
|
field_pos = (String === field ) ? data.fields.index(field) : field
|
160
160
|
|
161
|
-
field_pos =
|
161
|
+
field_pos = nil if data.respond_to?(:type) and data.type == :single
|
162
162
|
|
163
163
|
data.collect{|k,vs|
|
164
164
|
v = field_pos.nil? ? vs : vs[field_pos]
|
@@ -175,13 +175,13 @@ module FDR
|
|
175
175
|
new_values = FDR.adjust(values)
|
176
176
|
keys.zip(new_values).each do |k,v|
|
177
177
|
vs = data[k]
|
178
|
-
if
|
178
|
+
if field_pos
|
179
179
|
vs[field_pos] = v
|
180
180
|
else
|
181
181
|
if Array === vs
|
182
182
|
vs[0] = v
|
183
183
|
else
|
184
|
-
data[k] =
|
184
|
+
data[k] = v
|
185
185
|
end
|
186
186
|
end
|
187
187
|
end
|
data/share/R/MA.R
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbbt-dm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.37
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Vazquez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rbbt-util
|
@@ -136,17 +136,17 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
136
|
version: '0'
|
137
137
|
requirements: []
|
138
138
|
rubyforge_project:
|
139
|
-
rubygems_version: 2.6.
|
139
|
+
rubygems_version: 2.6.13
|
140
140
|
signing_key:
|
141
141
|
specification_version: 4
|
142
142
|
summary: Data-mining and statistics
|
143
143
|
test_files:
|
144
|
-
- test/test_helper.rb
|
145
|
-
- test/rbbt/vector/model/test_svm.rb
|
146
|
-
- test/rbbt/vector/test_model.rb
|
147
144
|
- test/rbbt/network/test_paths.rb
|
148
145
|
- test/rbbt/matrix/test_barcode.rb
|
149
146
|
- test/rbbt/statistics/test_random_walk.rb
|
147
|
+
- test/rbbt/statistics/test_fisher.rb
|
150
148
|
- test/rbbt/statistics/test_fdr.rb
|
151
149
|
- test/rbbt/statistics/test_hypergeometric.rb
|
152
|
-
- test/rbbt/
|
150
|
+
- test/rbbt/vector/test_model.rb
|
151
|
+
- test/rbbt/vector/model/test_svm.rb
|
152
|
+
- test/test_helper.rb
|