compute_kernel_matrix: Computes kernel matrix

Description Usage Arguments Value

View source: R/train_encoder_multi.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
compute_kernel_matrix(
  data,
  data_shape,
  labels = NULL,
  method = NULL,
  perplexity = 30,
  diag = "zero"
)

Arguments

data

cell x feature data matrix

data_shape

number of features for data

labels

cell x 1 annotation (label) vector

method

Kernel to compute pairwise cell similarity

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.