rbbt-dm 1.1.14 → 1.1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbbt/matrix/differential.rb +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e12a29723724a2bd6511751389ba939a9812d268
|
4
|
+
data.tar.gz: 8aa95f36ff74ec63e1880817a58d35474ae7b43e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6d65757c611cbacebbc3450404cdf606d800e261e949bab813a4f5beffe825fce270aa554ffba49df58c2baceae680f908041e8821ec93a5e8eded6bd61ba14
|
7
|
+
data.tar.gz: 3b797b984c2c7e6b89fd005a0861dbff432a7bc6460bb812b8e3801d5a268f3fdf068d39256a6d414e2d79dc8848bf56d9c6d01faa917f480af339a27bd62fa5
|
@@ -2,6 +2,7 @@ require 'rbbt/util/R'
|
|
2
2
|
|
3
3
|
class Matrix
|
4
4
|
def differential(main, contrast, path = nil)
|
5
|
+
all_samples = self.samples
|
5
6
|
if Array === main and Array === contrast
|
6
7
|
main_samples, contrast_samples = main, contrast
|
7
8
|
else
|
@@ -9,6 +10,8 @@ class Matrix
|
|
9
10
|
end
|
10
11
|
|
11
12
|
name = data_file =~ /:>/ ? File.basename(data_file) : data_file
|
13
|
+
main_samples = main_samples & all_samples
|
14
|
+
contrast_samples = contrast_samples & all_samples
|
12
15
|
Persist.persist(name, :tsv, :persist => :update, :file => path,
|
13
16
|
:other => {:main => main_samples, :contrast => contrast_samples},
|
14
17
|
:prefix => "Diff", :dir => Matrix.matrix_dir.differential, :no_load => true) do |file|
|
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.15
|
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-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rbbt-util
|