Changeset 4061


Ignore:
Timestamp:
Dec 14, 2007, 12:09:16 PM (15 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #838: Change default value of Blockgroup size to 0 in Lowess

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/plugins/core/net/sf/basedb/plugins/LowessNormalization.java

    r4034 r4061  
    140140    "blockGroup",
    141141    "Blockgroup size",
    142     "The number of arraydesign blocks in each group",
    143     new IntegerParameterType(1, null, 1, true)
     142    "The number of arraydesign blocks in each group.\n0 = use all blocks as a single group.",
     143    new IntegerParameterType(0, null, 0, true)
    144144  );
    145145 
     
    309309    @param delta
    310310    @param iterations
    311     @param blockGroupSize
     311    @param blockGroupSize The number of blocks to group and normalise at the same time,
     312      if <=0, all blocks on a bioassay are grouped to a single dataset
    312313    @param progress Progress reporter used by the caller to keep track of the progress. Null is allowed   
    313314    @return The normalized bioassayset
     
    401402        int minBlock = data.get(0).block;
    402403        int maxBlock = data.get(data.size()-1).block;
     404        // If 0, we should use all blocks as a single data set
     405        if (blockGroupSize <= 0) blockGroupSize = maxBlock - minBlock + 1;
    403406       
    404407        int fromIndex = 0;
Note: See TracChangeset for help on using the changeset viewer.