Mercurial > repos > pmac > iterativepca
view pca_report.html @ 0:64e75e21466e draft default tip
Uploaded
author | pmac |
---|---|
date | Wed, 01 Jun 2016 03:38:39 -0400 |
parents | |
children |
line wrap: on
line source
{% macro display_iterations(ilist) %} {% for it in ilist %} {{ display_single_iteration(it) }} {% endfor %} {% endmacro %} {% macro display_single_iteration(idata) %} <div><h3>Iteration {{ idata.count }}</h3></div> {% for pp in idata.rel_plot_paths %} <img src="{{ pp }}"> {% endfor %} <div> <strong>{{ idata.xl|length - 1 }} samples were excluded from the PCA</strong> <details> <table> {% for x in idata.xl %} <tr> {% if loop.first %} {% for cell in x %} <th>{{ cell }}</th> {% endfor %} {% else %} {% for cell in x %} <td>{{ cell }}</td> {% endfor %} {% endif %} </tr> {% endfor %} </table> </details> </div> <div> <strong>Detected {{ idata.ol|length - 1}} outliers</strong> <details> <table> {% for x in idata.ol %} <tr> {% if loop.first %} {% for cell in x %} <th>{{ cell }}</th> {% endfor %} {% else %} {% for cell in x %} <td>{{ cell }}</td> {% endfor %} {% endif %} </tr> {% endfor %} </table> </details> </div> </div> {% endmacro %} <!DOCTYPE html> <html> <head> <title>PCA Report</title> </head> <body> <h1>PCA Report</h1> <div><strong>Date:</strong> {{ date }}</div> <div><strong>Input data file:</strong> {{ dfname }}</div> <div><strong>Log File:</strong> {{ lfname }} <details><pre>{{ logcontent }}</pre></details> </div> <div><strong>Standard Deviation Multiplier: </strong> {{ sd_cutoff }} </div> <div><strong>Clustering Method: </strong> {{ cmethod }} </div> <div><strong>Cluster Trimming: </strong> {{ tmethod }} </div> <div><h2>Iteration data</h2> {{ display_iterations(iteration_data) }} </div> </body> </html>