In [1]:
import matplotlib as mpl
mpl.get_backend()
Out[1]:
In [2]:
%matplotlib notebook
# for caching results to prevent recalculation
# %load_ext ipycache
import numpy as np
import matplotlib as mpl
import matplotlib.pyplot as plt
from matplotlib.pyplot import *
import heatsequer as hs
%run '~/Python/git/heatsequer/startanalysisnoontology.py'
In [3]:
mpl.get_backend()
Out[3]:
In [4]:
bear=hs.load('test_data/bears.clean.new.withtax.biom','test_data/map.txt')
In [5]:
bear=hs.filterorigreads(bear,1000)
bear=hs.filterminreads(bear,10)
bear=hs.clusterbacteria(bear,10)
In [7]:
hs.plotexp(bear,sortby="host_subject_id",numeric=False,usegui=True,cdb=cdb,seqdb=bdb,showline=True,ontofig='BODY_SITE',minreads=4,uselog=True,rangeall=True)
Out[7]:
In [19]:
import ipywidgets as widgets
from IPython.display import display
In [27]:
a=widgets.Text(description='pita',value='tata')
display(a)
for x in ['asdf','sdfsdf','sdfsdfsdfsdf','googo']:
a.value=x
In [25]:
b=widgets.Text(description=x,value=x)
display(b)
In [28]:
a.value='amnon'
In [ ]: