Changeset 1235
- Timestamp:
- Aug 25, 2010, 8:51:14 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/base2/net.sf.basedb.illumina/trunk/src/net/sf/basedb/illumina/plugins/DetectionPValue.java
r1218 r1235 432 432 { 433 433 int i=stopIndex; 434 while (i>=startIndex && sortedArray[i]> intensity) --i;435 return (float)(1.0-(1.0+i )/(stopIndex-startIndex+1));434 while (i>=startIndex && sortedArray[i]>=intensity) --i; 435 return (float)(1.0-(1.0+i-startIndex)/(1.0+stopIndex-startIndex)); 436 436 } 437 437
Note: See TracChangeset
for help on using the changeset viewer.