Changes between Version 1 and Version 2 of Ticket #541, comment 2
 Timestamp:
 Dec 3, 2013, 1:34:16 PM (8 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

Ticket #541, comment 2
v1 v2 2 2 3 3 1. Originally data in BASE was stored in untransformed format, and the average method used was arithmetic mean (the latter differs from the current recommendation for untransformed data, which is to use geometric mean). 4 2. A flag indicating if stored data was untransformed, stored as log2, or log10 values, was introduced in BASE Ticket [http://base.thep.lu.se/ticket/1120 #1120] (The dynamic part of BASE should keep track whether intensity data is in log space or not). See this ticket for a lengthy discussion on the use and storage of transformed data in BASE. Some additions were:[[BR]][[BR]]a. A `BioAssaySet` has a `getIntensityTransform()` method that returns an `IntensityTransform` `enum` object, whose public `Formula.AverageMethod getAverage()` method returns `Formula.AverageMethod.ARITHMETIC_MEAN` or `Formula.AverageMethod.GEOMETRIC_MEAN`.[[BR]]b. Class `VirtualColumn` was extended with stati s methods `VirtualColumn channelIntensity(int channel)`[[BR]][[BR]]4 2. A flag indicating if stored data was untransformed, stored as log2, or log10 values, was introduced in BASE Ticket [http://base.thep.lu.se/ticket/1120 #1120] (The dynamic part of BASE should keep track whether intensity data is in log space or not). See this ticket for a lengthy discussion on the use and storage of transformed data in BASE. Some additions were:[[BR]][[BR]]a. A `BioAssaySet` has a `getIntensityTransform()` method that returns an `IntensityTransform` `enum` object, whose public `Formula.AverageMethod getAverage()` method returns `Formula.AverageMethod.ARITHMETIC_MEAN` or `Formula.AverageMethod.GEOMETRIC_MEAN`.[[BR]]b. Class `VirtualColumn` was extended with static methods `VirtualColumn channelIntensity(int channel)` and `VirtualColumn channelRaw(int channel)`. The former performs a reverse transformation, determined by the transformation flag, in order to return untransformed data, while the latter returns data the way it was stored in the database. i.e. data in log2 and log10 format is returned in that format.[[BR]][[BR]] 5 5 3. Enum class `IntensityTransform` public `Formula.AverageMethod getAverage()` method does however return `Formula.AverageMethod.ARITHMETIC_MEAN` for data stored in untransformed format (according to the flag), and `Formula.AverageMethod.GEOMETRIC_MEAN` for data stored in log2 or log10 format. This is the opposite to what is recommended to be used in this ticket, for data fetched in untransformed form.