ConnectivityKernel(adata, backward=False, compute_cond_num=False, check_connectivity=False)¶
Kernel which computes transition probabilities based on transcriptomic similarities.
As a measure for transcriptomic similarity, we use the weighted KNN graph computed using
scanpy.pp.neighbors(), see [Wolf18]. By definition, the resulting transition matrix is symmetric and cannot be used to learn about the direction of the developmental process under consideration. However, the velocity-derived transition matrix from
cellrank.tl.kernels.VelocityKernelcan be combined with the similarity-based transition matrix as a means of regularization.
Annotated data object.
Direction of the process.
Condition number of the transition matrix.
Get the kernels of the kernel expression, except for constants.
Parameters which are used to compute the transition matrix.
Return row-normalized transition matrix.
Compute transition matrix based on transcriptomic similarity.
Return a copy of self.
Deserialize self from a file.
Serialize self to a file.
Write the transition matrix and parameters used for computation to the underlying