Ignore:
Timestamp:
Oct 16, 2009, 2:27:01 PM (13 years ago)
Author:
Nicklas Nordborg
Message:

References #1385 and #1386. Plot functions in experiment explorer

Both types of plots can now be generated and I think the percentile values are correctly calculated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/views/experiments/explorer/view/view.jsp

    r5137 r5138  
    256256    function plotSpotData()
    257257    {
    258       var url = 'plotter.jsp?ID=<%=ID%>';
     258      var url = 'plotter.jsp?ID=<%=ID%>&type=line';
    259259      url += '&bioAssaySetId=<%=bioAssaySetId%>';
    260260      url += '&reporterIndex=<%=reporterIndex%>';
    261261      url += '&positionIndex=<%=positionIndex%>';
    262262      Main.openPopup(url, 'SpotPlot', 1100, 700);
     263    }
     264    function boxPlot(annotationType)
     265    {
     266      var url = 'plotter.jsp?ID=<%=ID%>&type=box';
     267      url += '&bioAssaySetId=<%=bioAssaySetId%>';
     268      url += '&reporterIndex=<%=reporterIndex%>';
     269      url += '&positionIndex=<%=positionIndex%>';
     270      url += '&annotationTypeId=' + annotationType;
     271      Main.openPopup(url, 'BoxPlot', 1100, 700);
    263272    }
    264273  </script>
     
    458467            <tr>
    459468              <td class="summaryheader"><%=Base.getLinkedName(ID, at, false, true)%></td>
     469              <td class="summaryheader"><base:icon
     470                image="plotter.gif"
     471                onclick="<%="boxPlot(" + at.getId() + ")"%>"
     472                tooltip="Box plot for selected spot data per annotation group"
     473              /></td>
    460474              <%
    461475              for (AnnotationGroup ag : summary.getAnnotationGroups())
     
    474488                %>
    475489                <tr>
    476                 <td>Mean ch <%=ch%> int.</td>
     490                <td colspan="2">Mean ch <%=ch%> int.</td>
    477491                <%
    478492                for (AnnotationGroup ag : summary.getAnnotationGroups())
     
    490504                %>
    491505                <tr>
    492                 <td title="The geometric mean of the ratios">G. mean ratio</td>
     506                <td colspan="2" title="The geometric mean of the ratios">G. mean ratio</td>
    493507                <%
    494508                for (AnnotationGroup ag : summary.getAnnotationGroups())
     
    501515                </tr>
    502516                <tr>
    503                 <td title="Standard deviation of log2 ratios">log2ratio SD</td>
     517                <td colspan="2" title="Standard deviation of log2 ratios">log2ratio SD</td>
    504518                <%
    505519                for (AnnotationGroup ag : summary.getAnnotationGroups())
     
    512526                </tr>
    513527                <tr>
    514                 <td title="The number of spots falling in this group">Count</td>
     528                <td colspan="2" title="The number of spots falling in this group">Count</td>
    515529                <%
    516530                for (AnnotationGroup ag : summary.getAnnotationGroups())
Note: See TracChangeset for help on using the changeset viewer.