encoderModel_gaussian_kernel: Guassian kernel

Description Usage Arguments Value

View source: R/backend_encoder.R

Description

Tensorflow implementation of tsne's gaussian_kernel, accepts tensors of float64 (for precision) and returns tensors of float32

Usage

1
2
3
4
5
6
7
8
9
encoderModel_gaussian_kernel(
  data,
  data_b = NULL,
  dim,
  perplexity = 30,
  method = "euclidean",
  betas.fixed = 0,
  diag = "zero"
)

Arguments

data

cell x feature data matrix

data_b

second cell x feature data matrix, if none provided then data_b = data

dim

number of cells in of mini-batch

perplexity

neighborhood parameter for gaussian kernel

method

distance metric prior to computing probabilities

diag

indicator for self similarity

Value

Tensorflow op


quon-titative-biology/scAlign documentation built on Nov. 17, 2021, 9:57 a.m.