Package org.biojava.nbio.survival.cox
Class CoxVariables
- java.lang.Object
- 
- org.biojava.nbio.survival.cox.CoxVariables
 
- 
 public class CoxVariables extends Object - Author:
- Scooter Willis 
 
- 
- 
Constructor SummaryConstructors Constructor Description CoxVariables(String cohortName, String geneSet, String genes)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringencodeFileURL(String file)static Stringfmt(Double d, int precision, int pad)StringgetCohortName()CoxInfogetCoxInfo(String name)LinkedHashMap<String,CoxInfo>getCoxInfoHashMap()StringgetGenes()StringgetGeneSet()intgetUniqueID()Need a unique id from StringvoidputCoxInfo(String name, CoxInfo coxInfo)StringtoString()
 
- 
- 
- 
Constructor Detail- 
CoxVariablespublic CoxVariables(String cohortName, String geneSet, String genes) - Parameters:
- cohortName-
- geneSet-
- genes-
 
 
- 
 - 
Method Detail- 
getUniqueIDpublic int getUniqueID() Need a unique id from String- Returns:
 
 - 
putCoxInfopublic void putCoxInfo(String name, CoxInfo coxInfo) - Parameters:
- name-
- coxInfo-
 
 - 
getCoxInfopublic CoxInfo getCoxInfo(String name) - Parameters:
- name-
- Returns:
 
 - 
encodeFileURLpublic String encodeFileURL(String file) - Parameters:
- file-
- Returns:
 
 - 
fmtpublic static String fmt(Double d, int precision, int pad) - Parameters:
- d-
- precision-
- pad-
- Returns:
 
 - 
getCohortNamepublic String getCohortName() - Returns:
- the cohortName
 
 - 
getGeneSetpublic String getGeneSet() - Returns:
- the geneSet
 
 - 
getCoxInfoHashMappublic LinkedHashMap<String,CoxInfo> getCoxInfoHashMap() - Returns:
- the coxInfoHashMap
 
 
- 
 
-