Class SVDValueObject

  • All Implemented Interfaces:
    Serializable

    public class SVDValueObject
    extends Object
    implements Serializable
    Store information about SVD of expression data and comparisons to factors/batch information.
    Author:
    paul
    See Also:
    Serialized Form
    • Method Detail

      • getBioMaterialIds

        public Long[] getBioMaterialIds()
      • setBioMaterialIds

        public void setBioMaterialIds​(Long[] bioMaterialIds)
      • getDateCorrelations

        public Map<Integer,​Double> getDateCorrelations()
        Returns:
        Map of component to correlation that component with "batch/scan date" (the dates associated with BioAssays)
      • setDateCorrelations

        public void setDateCorrelations​(Map<Integer,​Double> dateCorrelations)
      • getDates

        public List<Date> getDates()
      • getFactorCorrelations

        public Map<Integer,​Map<Long,​Double>> getFactorCorrelations()
        Returns:
        map of component to a map of ExperimentalFactor IDs to correlations of that factor with the component.
      • setFactorCorrelations

        public void setFactorCorrelations​(Map<Integer,​Map<Long,​Double>> factorCorrelations)
      • getFactorPvals

        public Map<Integer,​Map<Long,​Double>> getFactorPvals()
        Returns:
        map of component to map of ExperimentalFactor IDs to pvalues for the association of that factor with the component.
      • getId

        public Long getId()
      • setId

        public void setId​(Long id)
      • getVariances

        public double[] getVariances()
        Returns:
        An array of values representing the fraction of the variance each component accounts for
      • setVariances

        public void setVariances​(double[] variances)
      • getvMatrix

        public DoubleMatrix<Long,​Integer> getvMatrix()
        Returns:
        Row names: biomaterial ids; column names: eigengene number (from 0)
      • setPCDateCorrelation

        public void setPCDateCorrelation​(int componentNumber,
                                         double dateCorrelation)
      • setPCDateCorrelationPval

        public void setPCDateCorrelationPval​(int componentNumber,
                                             double spearmanPvalue)
      • setPCFactorCorrelation

        public void setPCFactorCorrelation​(int componentNumber,
                                           ExperimentalFactor ef,
                                           double factorCorrelation)
      • setPCFactorCorrelationPval

        public void setPCFactorCorrelationPval​(int componentNumber,
                                               ExperimentalFactor ef,
                                               double pvalue)