rbbt-dm 1.1.12 → 1.1.13
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/random_walk.rb +5 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: baee53ce898ba3d2e85a69f3e82347e91f3aa5ea
|
4
|
+
data.tar.gz: 8d772ed5326b921514aa10e01c252df7bc134f10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3108556ce956bae5c24edaec25b68c2bdc7156ac4a8eed9bc1c68f5519578624ed4965de58ec2c6ca7e7593e9c57099719b8bd8df67706426ef48800de37a947
|
7
|
+
data.tar.gz: 4f214c61a3b5d530c0319887101d18fc2ccd1f5ce71c8a4316a549132ceb644457f54910b1a7eb8692ee8d5b6b2350bb1c50c5a448693cc8aabe359eeb3c8cc2
|
@@ -503,8 +503,11 @@ module TSV
|
|
503
503
|
tsv.with_unnamed do
|
504
504
|
tsv.through do |key, values|
|
505
505
|
next if masked and masked.include? key
|
506
|
-
|
507
|
-
|
506
|
+
values = values.flatten.compact.reject{|v| v.empty?}
|
507
|
+
matches = (values.respond_to?(:subset) ? values.subset(list) : values & list).compact
|
508
|
+
next if matches.length < 2
|
509
|
+
pvalue = rank_enrichment_for_list(list, values, options)
|
510
|
+
res[key] = [pvalue, matches]
|
508
511
|
end
|
509
512
|
end
|
510
513
|
end
|
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.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Vazquez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rbbt-util
|
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
130
|
version: '0'
|
131
131
|
requirements: []
|
132
132
|
rubyforge_project:
|
133
|
-
rubygems_version: 2.
|
133
|
+
rubygems_version: 2.4.6
|
134
134
|
signing_key:
|
135
135
|
specification_version: 4
|
136
136
|
summary: Data-mining and statistics
|