2e118aa72650e23463cf0f845198189ed9a83472,scanpy/tools/dpt.py,,dpt,#Any#Any#Any#Any#Any#Any#,11
Before Change
of a root cell. Either add
adata.uns["iroot"] = root_cell_index
adata.var["xroot"] = adata[root_cell_name, :].X"""
logg.hint(msg)
logg.info("performing Diffusion Pseudotime analysis", r=True)
dpt = DPT(adata, min_group_size=min_group_size,
n_branchings=n_branchings,
allow_kendall_tau_shift=allow_kendall_tau_shift)
After Change
if "neighbors" not in adata.uns:
raise ValueError(
"You need to run `pp.neighbors` and `tl.diffmap` first.")
if "X_diffmap" not in adata.obsm.keys():
raise ValueError(
"You need to run `pp.diffmap` first.")
if "iroot" not in adata.uns and "xroot" not in adata.var:
logg.warn(
"No root cell found. To compute pseudotime, pass the index or "
"expression vector of a root cell, one of:\n"
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: theislab/scanpy
Commit Name: 2e118aa72650e23463cf0f845198189ed9a83472
Time: 2018-05-16
Author: f.alex.wolf@gmx.de
File Name: scanpy/tools/dpt.py
Class Name:
Method Name: dpt
Project Name: theislab/scanpy
Commit Name: 93bc36f5f65ae2c00f50372f0fa750cfe8a6d6f8
Time: 2018-07-11
Author: scottgigante@gmail.com
File Name: scanpy/preprocessing/magic.py
Class Name:
Method Name: magic
Project Name: theislab/scanpy
Commit Name: f0e034c74e55fbdd76f8abfb3ec0cc3eaaabb41f
Time: 2019-03-29
Author: malte.luecken@icb-lisa.scidom.de
File Name: scanpy/tools/_marker_gene_overlap.py
Class Name:
Method Name: marker_gene_overlap