37014059366b55d8293dc38898769d28410e3926,scanpy/tools/spring.py,,plot_spring,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,81
Before Change
// "the current step is", dspring["istep"],
// "\n--> append, for example, "--plotparams add_steps 1", for a single step")
from .. import plotting as plott
plott.plot_tool(adata,
basis="spring",
toolkey="spring",
smp=smp,
names=names,
comps=comps,
cont=cont,
layout=layout,
legendloc=legendloc,
cmap=cmap,
pal=pal,
right_margin=right_margin,
size=size,
// defined in plotting
subtitles=["Fruchterman-Reingold step: 12"])
else:
Adj = dspring["Adj"]
istep = dspring["istep"]
// TODO: don"t save the adjacency matrix!!!
After Change
// "the current step is", dspring["istep"],
// "\n--> append, for example, "--plotparams add_steps 1", for a single step")
from .. import plotting as plott
smps = plott.scatter(adata,
basis="spring",
smp=smp,
names=names,
comps=comps,
cont=cont,
layout=layout,
legendloc=legendloc,
cmap=cmap,
pal=pal,
right_margin=right_margin,
size=size,
// defined in plotting
titles=["Fruchterman-Reingold step: 12"])
writekey = sett.basekey + "_spring"
writekey += "_" + ("-".join(smps) if smps[0] is not None else "") + sett.plotsuffix
plott.savefig(writekey)
if not sett.savefigs and sett.autoshow:
from ..compat.matplotlib import pyplot as pl
pl.show()
else:
Adj = dspring["Adj"]
istep = dspring["istep"]
// TODO: don"t save the adjacency matrix!!!
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 22
Instances
Project Name: theislab/scanpy
Commit Name: 37014059366b55d8293dc38898769d28410e3926
Time: 2017-03-05
Author: f.alex.wolf@gmx.de
File Name: scanpy/tools/spring.py
Class Name:
Method Name: plot_spring
Project Name: theislab/scanpy
Commit Name: 37014059366b55d8293dc38898769d28410e3926
Time: 2017-03-05
Author: f.alex.wolf@gmx.de
File Name: scanpy/tools/pca.py
Class Name:
Method Name: plot_pca
Project Name: theislab/scanpy
Commit Name: 37014059366b55d8293dc38898769d28410e3926
Time: 2017-03-05
Author: f.alex.wolf@gmx.de
File Name: scanpy/tools/spring.py
Class Name:
Method Name: plot_spring
Project Name: theislab/scanpy
Commit Name: 37014059366b55d8293dc38898769d28410e3926
Time: 2017-03-05
Author: f.alex.wolf@gmx.de
File Name: scanpy/tools/diffmap.py
Class Name:
Method Name: plot_diffmap
Project Name: theislab/scanpy
Commit Name: 37014059366b55d8293dc38898769d28410e3926
Time: 2017-03-05
Author: f.alex.wolf@gmx.de
File Name: scanpy/tools/tsne.py
Class Name:
Method Name: plot_tsne