generate_centers: function to reproduce the behavior of eye function in matlab

Description Usage Arguments Value

Description

function to reproduce the behavior of eye function in matlab

Usage

1
generate_centers(X, W, P, param.gamma)

Arguments

X

input data

W

the pricipal graph matrix

P

the cluster assignment matrix

param.gamma

regularization parameter for k-means (the prefix of 'param' is used to avoid name collision with gamma)

Value

A matrix C for the centers for principal graph


cole-trapnell-lab/L1-graph documentation built on May 17, 2019, 12:50 p.m.