Description Usage Arguments Value See Also
Subtypes using Affinity Network Fusion
1 2 3 4 5 | subtype_anf(data_list, minimal_return = FALSE, cluster_number, k_affi,
alpha_affi = 1/6, beta_affi = 1/6, k_fusion = 20,
weigth_fusion = NULL, type_fusion = c("two-step", "one-step"),
alpha_fusion = c(1, 1, 0, 0, 0, 0, 0, 0), spectral_type = c("rw",
"sym", "unnormalized"), verbose_fusion = FALSE, just_fuse = FALSE)
|
data_list |
a list of data matrices with continuous data of format samples x features (with the same number of samples). |
minimal_return |
logical, if TRUE, the result of the function will just be what's needed to evaluate the goodness of the partition, i.e. the partition and the element for internal metrics. |
cluster_number |
The supposed or previously infered number of clusters. |
k_affi |
The number of k-nearest neighbors for the affinity matrix calculation. |
alpha_affi |
Coefficient for local diameters for affinity matrix calculation. Default value: 1/6. |
beta_affi |
Coefficient for pair-wise distance for affinity matrix calculation. Default value: 1/6. |
k_fusion |
the number of k nearest neighbors for function kNN_graph |
weigth_fusion |
a list of non-negative real numbers (which will be
normalized internally so that it sums to 1) that one-to-one correspond to
the affinity matrices computed from the features matrices provided in
|
type_fusion |
choose one of the two options "one-step" random walk, or "two-step" random walk (for the fusion process). |
alpha_fusion |
a list of eight non-negative real numbers (which will be
normalized internally to make it sums to 1). Only used when "two-step"
(default value of |
spectral_type |
choose one of three versions of graph Laplacian:
"unnormalized": unnormalized graph Laplacian matrix (L = D - W |
verbose_fusion |
logical(1); if true, print some information concerning the fusion step. |
just_fuse |
wetherto just integrate matrices and return the fused matrix or not |
a result list containing:
$partition: The predicted partition
$element_for_metric: The name of the element in the result list. containing the data to be used with internal metrics.
$affinity_fused: The fused affinity matrix returned by the function
ANF
ANF
, affinity_matrix
,
spectral_clustering
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.