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

View source: R/learn_graph.R

generate_centersR Documentation

Function to reproduce the behavior of eye function in matlab

Description

Function to reproduce the behavior of eye function in matlab

Usage

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

Arguments

X

input data

W

the principal 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/monocle3 documentation built on May 24, 2022, 5:25 p.m.