GetGeneEmbedding.Rd
Get the diffusion embedding of genes based on the gene-gene Wasserstein distance matrix
GetGeneEmbedding(dist.mat, K = 10, sigma = NULL, nEV = 30, t = 1)
matrix; Gene-gene Wasserstein distance matrix (symmetric)
integer; Adaptive kernel bandwidth for each point set to be the distance to its K
-th nearest neighbor.
numeric; Fixed kernel bandwidth, sigma
will be ignored if K
is specified.
integer; Number of leading eigenvectors to export
integer; Number of diffusion times
List with the following elements:
diffu.emb | Diffusion Map embedding with the leading K eigenvectors |
eigen.vals | Eigenvalues associated with corresponding eigenvectors |