Class PrincipalComponentAnalysis
java.lang.Object
ubic.gemma.model.common.AbstractIdentifiable
ubic.gemma.model.common.AbstractDescribable
ubic.gemma.model.analysis.Analysis
ubic.gemma.model.analysis.expression.ExpressionAnalysis
ubic.gemma.model.analysis.SingleExperimentAnalysis
ubic.gemma.model.analysis.expression.pca.PrincipalComponentAnalysis
- All Implemented Interfaces:
gemma.gsec.model.Securable, gemma.gsec.model.SecuredChild, Securable, SecuredChild, Describable, Identifiable
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanImportant note: Two objects with the same class and non-null ID must be considered equal.double[]voidsetBioAssayDimension(BioAssayDimension bioAssayDimension) voidsetEigenValues(Set<Eigenvalue> eigenValues) voidsetEigenVectors(Set<Eigenvector> eigenVectors) voidsetMaxNumProbesPerComponent(Integer maxNumProbesPerComponent) voidsetNumComponentsStored(Integer numComponentsStored) voidsetProbeLoadings(Set<ProbeLoading> probeLoadings) Methods inherited from class SingleExperimentAnalysis
getExperimentAnalyzed, getNumberOfElementsAnalyzed, getSecurityOwner, setExperimentAnalyzed, setNumberOfElementsAnalyzedMethods inherited from class Analysis
getName, getProtocol, setName, setProtocolMethods inherited from class AbstractDescribable
getDescription, hashCode, setDescription, toStringMethods inherited from class AbstractIdentifiable
getId, setIdMethods inherited from interface Identifiable
getIdMethods inherited from interface gemma.gsec.model.Securable
getId
-
Constructor Details
-
PrincipalComponentAnalysis
public PrincipalComponentAnalysis()
-
-
Method Details
-
getBioAssayDimension
-
setBioAssayDimension
-
getEigenValues
-
setEigenValues
-
getEigenVectors
-
setEigenVectors
-
getMaxNumProbesPerComponent
- Returns:
- How many probe loadings were stored per component (max).
-
setMaxNumProbesPerComponent
-
getNumComponentsStored
- Returns:
- How many components results are stored for (e.g. 3)
-
setNumComponentsStored
-
getProbeLoadings
-
setProbeLoadings
-
getEigenvectorArrays
- Returns:
- Convenience method to access the eigenvectors, as a List of Double[].
- Throws:
IllegalArgumentException
-
getVarianceFractions
public double[] getVarianceFractions()- Returns:
- An array of values representing the fraction of the variance each component accounts for. Convenience method to access the Eigenvalue data.
-
equals
Description copied from class:AbstractIdentifiableImportant 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:
equalsin classAbstractIdentifiable
-