define_kernel_matrix: define kernel matrix

Description Usage Arguments Value

View source: R/train_encoder.R

Description

Adds the defined kernel to the operation graph for high dimensional pairwise data similarity

Usage

1
2
3
4
5
6
7
8
define_kernel_matrix(
  method,
  data = NULL,
  labels = NULL,
  data_shape,
  perplexity = NULL,
  diag = "zero"
)

Arguments

method

Kernel to compute pairwise cell similarity

data

cell x feature data matrix

labels

cell x 1 annotation (label) vector

data_shape

number of features for data

perplexity

neighborhood parameter for gaussian kernel

diag

indicator for self similarity

Value

Tensorflow op


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