compute_kernel_matrix {scAlign}R Documentation

Computes kernel matrix

Description

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

Usage

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


[Package scAlign version 1.6.0 Index]