forked from KlugerLab/GeneTrajectory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGetGeneEmbedding.Rd
30 lines (26 loc) · 1.06 KB
/
GetGeneEmbedding.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/GetGeneEmbedding.R
\name{GetGeneEmbedding}
\alias{GetGeneEmbedding}
\title{Get the diffusion embedding of genes based on the gene-gene Wasserstein distance matrix}
\usage{
GetGeneEmbedding(dist.mat, K = 10, sigma = NULL, nEV = 30, t = 1)
}
\arguments{
\item{dist.mat}{matrix; Gene-gene Wasserstein distance matrix (symmetric)}
\item{K}{integer; Adaptive kernel bandwidth for each point set to be the distance to its \code{K}-th nearest neighbor.}
\item{sigma}{numeric; Fixed kernel bandwidth, \code{sigma} will be ignored if \code{K} is specified.}
\item{nEV}{integer; Number of leading eigenvectors to export}
\item{t}{integer; Number of diffusion times}
}
\value{
List with the following elements:
\tabular{ll}{
\code{diffu.emb} \tab Diffusion Map embedding with the leading \code{K} eigenvectors \cr
\tab \cr
\code{eigen.vals} \tab Eigenvalues associated with corresponding eigenvectors \cr
}
}
\description{
Get the diffusion embedding of genes based on the gene-gene Wasserstein distance matrix
}