Class GeoVariable
java.lang.Object
ubic.gemma.core.loader.expression.geo.model.GeoVariable
A GeoVariable represents variables which were investigated.
According to the GEO web site, the valid values for the "name" are: dose, time, tissue, strain, gender, cell line, development stage, age, agent, cell type, infection, isolate, metabolism, shock, stress, temperature, specimen, disease state, protocol, growth protocol, genotype/genetic variation, species, individual, or other.
These map to ExperimentalFactors in Gemma.
- Author:
- pavlidis
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Permitted descriptions of terms. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addToVariableSampleList
(GeoSample sample) static GeoVariable.VariableType
convertStringToType
(String string) Convert a string found in the GEO sample descriptions e.g., "age" to the corresponding category, represented here by VariableType.boolean
getType()
int
hashCode()
void
setDescription
(String description) void
setSamples
(Collection<GeoSample> variableSampleList) void
toString()
-
Constructor Details
-
GeoVariable
public GeoVariable()
-
-
Method Details
-
convertStringToType
Convert a string found in the GEO sample descriptions e.g., "age" to the corresponding category, represented here by VariableType. TODO: this list has gotten unwieldy and should be replaced with a config file that is read in, and it should be more directly related the list in EFO.factor.categories.txt- Parameters:
string
- string- Returns:
- variable type
-
addToVariableSampleList
-
getDescription
- Returns:
- Returns the description.
-
setDescription
- Parameters:
description
- The description to set.
-
getSamples
- Returns:
- Returns the variableSampleList.
-
setSamples
- Parameters:
variableSampleList
- The variableSampleList to set.
-
getType
- Returns:
- Returns the name.
-
setType
- Parameters:
name
- The name to set.
-
hashCode
public int hashCode() -
equals
-
toString
-