Sha256: 0c040430d60b89348082f2b052aa59cc686c2df19e74e3765e6314594fd5e2dd
Contents?: true
Size: 622 Bytes
Versions: 37
Compression:
Stored size: 622 Bytes
Contents
require 'rbbt-util' require 'rbbt/resource' require 'rbbt/sources/organism' module MCLP extend Resource self.subdir = 'share/databases/MCLP' def self.organism(org="Hsa") Organism.default_code(org) end #self.search_paths = {} #self.search_paths[:default] = :lib MCLP.claim MCLP.RPPA, :proc do url = "http://tcpaportal.org/mclp/download/MCLP-v1.1-Level4.zip" tsv = TSV.open(url, :header_hash => "", :fix => Proc.new{|l| l.gsub("NA", "")}, :cast => :to_f, :namespace => MCLP.organism, :type => :list) tsv.transpose("Antibody").to_s end end iif MCLP.RPPA.produce.find if __FILE__ == $0
Version data entries
37 entries across 37 versions & 1 rubygems