Changeset 300
- Timestamp:
- May 24, 2007, 3:57:07 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/se/lu/thep/affymetrix/Plier.java
r296 r300 72 72 73 73 import java.io.IOException; 74 75 import java.lang.Double; 76 import java.lang.Float; 77 import java.lang.Math; 74 78 75 79 import java.util.ArrayList; … … 406 410 while (ffp.hasMoreData()) { 407 411 FlatFileParser.Data data = ffp.nextData(); 408 for (Map.Entry<Integer,Short> entry : cubecolumn.entrySet()) 409 sbatcher.insert(entry.getValue().shortValue(), position, 410 Float.parseFloat(data.get(entry.getKey()))); 412 for (Map.Entry<Integer,Short> entry : cubecolumn.entrySet()){ 413 Double x = 414 new Double(Math.log(Double.parseDouble(data.get(entry.getKey())))); 415 sbatcher.insert(entry.getValue().shortValue(), position, 416 x.floatValue()); 417 } 411 418 // The reporter id is assumed to be the first column 412 419 pbatcher.insert(position,rbatcher.getByExternalId(data.get(0))); … … 435 442 "Department of Theoretical Physics, Lund University", 436 443 null, null, 437 "http://baseplugins.thep.lu.se/wiki/se.lu.thep.affymetrix .Plier" );444 "http://baseplugins.thep.lu.se/wiki/se.lu.thep.affymetrix" ); 438 445 private RequestInformation configureJob = null; 439 446 private RequestInformation configurePlugin = null;
Note: See TracChangeset
for help on using the changeset viewer.