Class CoxVariables


  • public class CoxVariables
    extends java.lang.Object
    Author:
    Scooter Willis
    • Constructor Detail

      • CoxVariables

        public CoxVariables​(java.lang.String cohortName,
                            java.lang.String geneSet,
                            java.lang.String genes)
        Parameters:
        cohortName -
        geneSet -
        genes -
    • Method Detail

      • getUniqueID

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

        public void putCoxInfo​(java.lang.String name,
                               CoxInfo coxInfo)
        Parameters:
        name -
        coxInfo -
      • getCoxInfo

        public CoxInfo getCoxInfo​(java.lang.String name)
        Parameters:
        name -
        Returns:
      • encodeFileURL

        public java.lang.String encodeFileURL​(java.lang.String file)
        Parameters:
        file -
        Returns:
      • fmt

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

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

        public java.lang.String getCohortName()
        Returns:
        the cohortName
      • getGeneSet

        public java.lang.String getGeneSet()
        Returns:
        the geneSet
      • getGenes

        public java.lang.String getGenes()
        Returns:
        the genes
      • getCoxInfoHashMap

        public java.util.LinkedHashMap<java.lang.String,​CoxInfo> getCoxInfoHashMap()
        Returns:
        the coxInfoHashMap