First compiled on: November 25, 2017. Update March 28, 2017.
In [1]:
import scanpy.api as sc
sc.settings.verbosity = 3 # verbosity: errors (0), warnings (1), info (2), hints (3)
sc.settings.set_figure_params(dpi=80) # low dpi (dots per inch) yields small inline figures
sc.logging.print_versions()
Simulating a simple toggleswitch (Gardner et al., Nature 2000).
In [2]:
adata = sc.tl.sim('toggleswitch')
In [3]:
sc.pl.sim(adata)
In [4]:
sc.pp.neighbors(adata, n_neighbors=10)
In [5]:
sc.tl.draw_graph(adata)
In [6]:
sc.pl.draw_graph(adata, edges=True, size=4)