Class CoxVariables


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

      • CoxVariables

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

      • 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:
      • getCohortName

        public String getCohortName()
        Returns:
        the cohortName
      • getGeneSet

        public String getGeneSet()
        Returns:
        the geneSet
      • getGenes

        public String getGenes()
        Returns:
        the genes