Class DatasetArg<T>

    • Constructor Detail

      • DatasetArg

        protected DatasetArg​(T value)
    • Method Detail

      • valueOf

        public static DatasetArg<?> valueOf​(String s)
                                     throws MalformedArgException
        Used by RS to parse value of request parameters.
        Parameters:
        s - the request dataset argument
        Returns:
        instance of appropriate implementation of DatasetArg based on the actual Type the argument represents.
        Throws:
        MalformedArgException
      • getPlatforms

        public List<ArrayDesignValueObject> getPlatforms​(ExpressionExperimentService service,
                                                         ArrayDesignService adService)
        Retrieves the Platforms of the Dataset that this argument represents.
        Parameters:
        service - service that will be used to retrieve the persistent EE object.
        adService - service to use to retrieve the ADs.
        Returns:
        a collection of Platforms that the dataset represented by this argument is in.
      • getSamples

        public List<BioAssayValueObject> getSamples​(ExpressionExperimentService service,
                                                    BioAssayService baService,
                                                    OutlierDetectionService outlierDetectionService)
        Parameters:
        service - service that will be used to retrieve the persistent EE object.
        baService - service that will be used to convert the samples (BioAssays) to VOs.
        outlierDetectionService - service that will be used to detect which samples are outliers and fill their corresponding predictedOutlier attribute.
        Returns:
        a collection of BioAssays that represent the experiments samples.
      • getAnnotations

        public Set<AnnotationValueObject> getAnnotations​(ExpressionExperimentService service)
        Parameters:
        service - service that will be used to retrieve the persistent EE object.
        Returns:
        a collection of Annotations value objects that represent the experiments annotations.