pyVIA.plotting_via.via_forcelayout

pyVIA.plotting_via.via_forcelayout(X_pca, viagraph_full=None, k=10, n_milestones=2000, time_series_labels=[], knn_seq=5, saveto='', random_seed=0)[source]

Compute force directed layout. #TODO not complete

Parameters:
  • X_pca

  • viagraph_full (csr_matrix) – optional. if calling before via, then None. if calling after or from within via, then we can use the via-graph to reinforce the layout

  • k (int) –

  • random_seed (int) –

  • t_diffusion

  • n_milestones

  • time_series_labels (list) –

  • knn_seq (int) –

Return type:

ndarray

Returns:

ndarray