Learn R Programming

monocle3 (version 1.0.0)

soft_assignment: Function to calculate the third term in the objective function

Description

Function to calculate the third term in the objective function

Usage

soft_assignment(X, C, sigma)

Arguments

X

input data

C

center of graph (D * K)

sigma

bandwidth parameter

Value

a matrix with diagonal element as 1 while other elements as zero (eye matrix)