calc_principal_graph: Function to automatically learn the structure of data by...

Description Usage Arguments Value

View source: R/learn_graph.R

Description

Function to automatically learn the structure of data by either using L1-graph or the spanning-tree formulization

Usage

1
2
3
4
5
6
7
8
9
calc_principal_graph(
  X,
  C0,
  maxiter = 10,
  eps = 1e-05,
  L1.gamma = 0.5,
  L1.sigma = 0.01,
  verbose = T
)

Arguments

X

the input data DxN

C0

the initialization of centroids

maxiter

maximum number of iteration

eps

relative objective difference

L1.gamma

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

L1.sigma

bandwidth parameter

verbose

emit results from iteration

Value

a list of X, C, W, P, objs X is the input data C is the centers for principal graph W is the principal graph matrix P is the cluster assignment matrix objs is the objective value for the function


cole-trapnell-lab/monocle3 documentation built on April 8, 2021, 5:54 a.m.