Class ProbeLoading
- java.lang.Object
-
- ubic.gemma.model.common.AbstractIdentifiable
-
- ubic.gemma.model.analysis.expression.pca.ProbeLoading
-
- All Implemented Interfaces:
Identifiable
public class ProbeLoading extends AbstractIdentifiable
Only stored for some of the probes (e.g. the top ones)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProbeLoading.Factory
-
Constructor Summary
Constructors Constructor Description ProbeLoading()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
Important note: Two objects with the same class and non-null ID must be considered equal.Integer
getComponentNumber()
Double
getLoading()
Integer
getLoadingRank()
CompositeSequence
getProbe()
int
hashCode()
Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.void
setComponentNumber(Integer componentNumber)
void
setLoading(Double loading)
void
setLoadingRank(Integer loadingRank)
void
setProbe(CompositeSequence probe)
-
Methods inherited from class ubic.gemma.model.common.AbstractIdentifiable
getId, setId, toString
-
-
-
-
Method Detail
-
getProbe
public CompositeSequence getProbe()
-
setProbe
public void setProbe(CompositeSequence probe)
-
getComponentNumber
public Integer getComponentNumber()
- Returns:
- Which component this loading is for (the first component is number 1)
-
setComponentNumber
public void setComponentNumber(Integer componentNumber)
-
getLoading
public Double getLoading()
- Returns:
- The raw loading value from the SVD. This corresponds to the values in the left singular vector.
-
setLoading
public void setLoading(Double loading)
-
getLoadingRank
public Integer getLoadingRank()
- Returns:
- The rank of this loading among the ones which were stored for the component
-
setLoadingRank
public void setLoadingRank(Integer loadingRank)
-
hashCode
public int hashCode()
Description copied from class:AbstractIdentifiable
Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.- Specified by:
hashCode
in classAbstractIdentifiable
- Returns:
- Returns a hash code based on this entity's identifiers.
-
equals
public boolean equals(Object object)
Description copied from class:AbstractIdentifiable
Important note: Two objects with the same class and non-null ID must be considered equal. If one or both IDs are nulls, the rest of the state can be used to determine equality.- Specified by:
equals
in classAbstractIdentifiable
- Returns:
true
if the argument is an ProbeLoading instance and all identifiers for this entity equal the identifiers of the argument entity. Returnsfalse
otherwise.
-
-