Пример #1
0
    def read_output(self, settings):
        # Code to write for collecting the output files from the algorithm, writes to the
        # output list in the object
        # What we want to do here is get the prediction rate on the last time
        # point and the network so we can compare it against a gold std.
        output_file = self.output_dir + "/output/" + "/nir_output.txt"

        net = Network()
        net.read_netmatrix_file(output_file, self.gene_list)
        self.network = net
    def read_output(self,settings):
        # Code to write for collecting the output files from the algorithm, writes to the
      # output list in the object
      # What we want to do here is get the prediction rate on the last time
      # point and the network so we can compare it against a gold std.
      # This file is a bunch of zscores, so we have to load the cutoff we want
      output_file = self.output_dir + "/output/inferelator_output.csv"

      net = Network()
      net.read_netmatrix_file(output_file, self.gene_list)
      self.network = net

      return self.network