Class DoubleVectorValueObject

    • Method Detail

      • getData

        public double[] getData()
      • setData

        public void setData​(double[] data)
      • getPvalue

        public Double getPvalue()
      • setPvalue

        public void setPvalue​(Double pvalue)
      • getRank

        public Double getRank()
      • setRank

        public void setRank​(Double rank)
      • getRankByMax

        public Double getRankByMax()
      • getRankByMean

        public Double getRankByMean()
      • isMasked

        public boolean isMasked()
      • setMasked

        public void setMasked​(boolean masked)
      • isReorganized

        public boolean isReorganized()
        Returns:
        true if the data has been rearranged relative to the bioassay dimension (as a matter of practice the bioassay dimension should be set to null if it is not valid; this boolean is an additional check)
      • setReorganized

        public void setReorganized​(boolean reorganized)
      • slice

        public SlicedDoubleVectorValueObject slice​(ExpressionExperimentSubSet subset,
                                                   BioAssayDimensionValueObject bad)
        Crate a vector that is a slice of this one. Create a vector that is a slice of another one. The bioassays chosen are as given in the supplied bioassay dimension.
        Parameters:
        subset - a subset by which we are slicing
        bad - all we nee is the id, the name and the list of bioassays from this.S
        vec - VO
      • standardize

        public double[] standardize()
        Returns:
        data adjusted to mean 0, variance 1.