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 Summary
Constructors Constructor Description CoxVariables(String cohortName, String geneSet, String genes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
encodeFileURL(String file)
static String
fmt(Double d, int precision, int pad)
String
getCohortName()
CoxInfo
getCoxInfo(String name)
LinkedHashMap<String,CoxInfo>
getCoxInfoHashMap()
String
getGenes()
String
getGeneSet()
int
getUniqueID()
Need a unique id from Stringvoid
putCoxInfo(String name, CoxInfo coxInfo)
String
toString()
-
-
-
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
-
getCoxInfoHashMap
public LinkedHashMap<String,CoxInfo> getCoxInfoHashMap()
- Returns:
- the coxInfoHashMap
-
-