Changeset 2734
- Timestamp:
- Oct 16, 2006, 2:38:27 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0.1/src/plugins/core/net/sf/basedb/plugins/MedianRatioNormalization.java
r2606 r2734 221 221 query.restrict(intensityRestriction); 222 222 query.joinRawData(JoinType.LEFT); 223 query.select(Selects.expression(Aggregations.max(Expressions.selected(Dynamic.selectRawData("block"))), "max")); 223 query.select(Selects.expression(Aggregations.max(Dynamic.rawData("block")), "max")); 224 query.select(Selects.expression(Aggregations.min(Dynamic.rawData("block")), "min")); 224 225 resultIter = query.iterate(dc); 225 226 int maxBlock = resultIter.next().getInt(resultIter.getIndex("max")); 226 227 for (int i = 0; i < maxBlock; i += blockGroupSize) 227 int minBlock = resultIter.next().getInt(resultIter.getIndex("min")); 228 229 for (int i = minBlock; i < maxBlock; i += blockGroupSize) 228 230 { 229 231 Restriction blockRestriction = Restrictions.between
Note: See TracChangeset
for help on using the changeset viewer.