315859c5586116434ea3b7ce97512a5e2a1030e2,scanpy/exs/builtin.py,,paul15pca,#,245
Before Change
ddata = paul15_raw()
ddata["X"] = sc.pp(ddata["X"], "log")
// reduce to 50 components
ddata["Xpca"] = sc.pca(ddata["X"])
// adjust expression vector of root cell
ddata["xroot"] = ddata["Xpca"][ddata["iroot"]]
return ddata
After Change
adata = paul15_raw()
adata.X = sc.pp(adata.X, "log")
// reduce to 50 components
apca = AnnData(sc.pca(adata.X), adata.smp, vis=adata.vis, iroot=adata["iroot"])
// adjust expression vector of root cell
apca.var["xroot"] = apca.X[apca["iroot"]]
return apca
def toggleswitch():
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: theislab/scanpy
Commit Name: 315859c5586116434ea3b7ce97512a5e2a1030e2
Time: 2017-02-06
Author: flying-sheep@web.de
File Name: scanpy/exs/builtin.py
Class Name:
Method Name: paul15pca
Project Name: theislab/scanpy
Commit Name: 49899ef69309d2a0ab6ad785f455eb53a8443a06
Time: 2017-02-08
Author: f.alex.wolf@gmx.de
File Name: scanpy/exs/user.py
Class Name:
Method Name: myexample
Project Name: theislab/scanpy
Commit Name: 315859c5586116434ea3b7ce97512a5e2a1030e2
Time: 2017-02-06
Author: flying-sheep@web.de
File Name: scanpy/exs/builtin.py
Class Name:
Method Name: paul15pca
Project Name: theislab/scanpy
Commit Name: 49899ef69309d2a0ab6ad785f455eb53a8443a06
Time: 2017-02-08
Author: f.alex.wolf@gmx.de
File Name: scanpy/exs/builtin.py
Class Name:
Method Name: moignard15_raw