Class CoxVariables

java.lang.Object
org.biojava.nbio.survival.cox.CoxVariables

public class CoxVariables extends Object
Author:
Scooter Willis
  • Constructor Details

    • CoxVariables

      public CoxVariables(String cohortName, String geneSet, String genes)
      Parameters:
      cohortName -
      geneSet -
      genes -
  • Method Details

    • getUniqueID

      public int getUniqueID()
      Need a unique id from String
      Returns:
    • putCoxInfo

      public void putCoxInfo(String name, CoxInfo coxInfo)
      Parameters:
      name -
      coxInfo -
    • getCoxInfo

      public CoxInfo getCoxInfo(String name)
      Parameters:
      name -
      Returns:
    • encodeFileURL

      public String encodeFileURL(String file)
      Parameters:
      file -
      Returns:
    • fmt

      public static String fmt(Double d, int precision, int pad)
      Parameters:
      d -
      precision -
      pad -
      Returns:
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getCohortName

      public String getCohortName()
      Returns:
      the cohortName
    • getGeneSet

      public String getGeneSet()
      Returns:
      the geneSet
    • getGenes

      public String getGenes()
      Returns:
      the genes
    • getCoxInfoHashMap

      public LinkedHashMap<String,CoxInfo> getCoxInfoHashMap()
      Returns:
      the coxInfoHashMap