#!/usr/bin/env python # coding: utf-8 # # Summary plots and HTML output # In[1]: get_ipython().run_line_magic('matplotlib', 'inline') get_ipython().run_line_magic('pylab', 'inline') from gdsctools import anova matplotlib.rcParams['figure.figsize'] = (10,6) # ## HTML Report # In[2]: from gdsctools import * # In[3]: an = ANOVA(ic50_test) # In[4]: results = an.anova_all() # In[5]: report = ANOVAReport(an, results) # In[6]: # This can take a while since it created all HTML and PNG images # This will be created in a directory called html_gdsc_anova by default # See settings notebook for details report.settings.animate = False report.create_html_pages(onweb=False) # ## Manual summary plot # In[7]: df = report.drug_summary() # In[8]: df = report.feature_summary() # In[11]: df = report.get_significant_hits() # In[12]: # you can create an individual HTML page e.g. the MANOVA page report.create_html_manova() # In[ ]: