Changeset 2986


Ignore:
Timestamp:
Dec 1, 2006, 11:30:33 AM (16 years ago)
Author:
Johan Enell
Message:

Added jep function for spot position

Location:
branches/2.1/src/core/net/sf/basedb/util
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1/src/core/net/sf/basedb/util/BioAssaySetUtil.java

    r2704 r2986  
    4343import net.sf.basedb.util.jep.Jep;
    4444import net.sf.basedb.util.jep.NotInReporterListFunction;
     45import net.sf.basedb.util.jep.PositionFunction;
    4546import net.sf.basedb.util.jep.RawFunction;
    4647import net.sf.basedb.util.jep.ReporterFunction;
     
    162163    <li>raw(property): The value of the specified raw data property
    163164    <li>rep(property): The value of the specified reporter property
     165    <li>pos: The position of a spot. Note that this is not the same as raw(position)
    164166    <li>ch(n): The intensity in channel n
    165167    <li>score(list): The score of the {@link Reporter} in the specified {@link ReporterList}
     
    177179    RawFunction raw = new RawFunction();
    178180    ChannelFunction ch = new ChannelFunction();
     181    PositionFunction pos = new PositionFunction();
    179182    ReporterFunction reporter = new ReporterFunction();
    180183    ScoreFunction score = new ScoreFunction(dc);
    181184    ExtraValueFunction xtra = new ExtraValueFunction(dc, bioAssaySet);
    182     return Jep.formulaToExpression(formula, raw, ch, reporter, score, xtra);
     185    return Jep.formulaToExpression(formula, raw, ch, pos, reporter, score, xtra);
    183186  }
    184187 
Note: See TracChangeset for help on using the changeset viewer.