a6ce1e2cf0bc83cc464d18537aa77794dd72d5a8,scanpy/tools/diffmap.py,,diffmap,#Any#Any#Any#Any#Any#Any#Any#Any#Any#,6

Before Change


    adata.uns["data_graph_distance_local"] = dmap.Dsq
    adata.uns["data_graph_norm_weights"] = dmap.Ktilde
    adata.obsm["X_diffmap"] = dmap.rbasis[:, 1:]
    adata.obs["X_diffmap0"] = dmap.rbasis[:, 0]
    adata.uns["diffmap_evals"] = dmap.evals[1:]
    logg.info("    finished", time=True, end=" " if settings.verbosity > 2 else "\n")
    logg.hint("added\n"

After Change


                         "Mind that the 0th component of diffusion maps "
                         "is not used for visualization.")
    adata = adata.copy() if copy else adata
    dmap = dpt.DPT(adata, n_jobs=n_jobs)
    // check whether we need to recompute
    if dmap.evals is None or n_dcs is None or dmap.evals.size < n_dcs:
        dmap.compute_eigen(n_comps=n_comps)
    adata.obsm["X_diffmap"] = dmap.rbasis
    adata.uns["diffmap_evals"] = dmap.evals
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: theislab/scanpy
Commit Name: a6ce1e2cf0bc83cc464d18537aa77794dd72d5a8
Time: 2018-03-20
Author: f.alex.wolf@gmx.de
File Name: scanpy/tools/diffmap.py
Class Name:
Method Name: diffmap


Project Name: theislab/scanpy
Commit Name: 7bc8e6dce4229d4924ad01792f3c913cfb250d9e
Time: 2017-04-24
Author: f.alex.wolf@gmx.de
File Name: scanpy/tools/dpt.py
Class Name:
Method Name: dpt


Project Name: theislab/scanpy
Commit Name: 7bc8e6dce4229d4924ad01792f3c913cfb250d9e
Time: 2017-04-24
Author: f.alex.wolf@gmx.de
File Name: scanpy/tools/diffmap.py
Class Name:
Method Name: diffmap