extract_feature_similarity | R Documentation |
Computes and extracts the feature distance table for features
used in a familiarEnsemble
object. This table can be used to cluster
features, and is exported directly by export_feature_similarity
.
extract_feature_similarity(
object,
data,
cl = NULL,
estimation_type = waiver(),
aggregate_results = waiver(),
confidence_level = waiver(),
bootstrap_ci_method = waiver(),
is_pre_processed = FALSE,
feature_cluster_method = waiver(),
feature_linkage_method = waiver(),
feature_cluster_cut_method = waiver(),
feature_similarity_threshold = waiver(),
feature_similarity_metric = waiver(),
verbose = FALSE,
message_indent = 0L,
...
)
object |
A |
data |
A |
cl |
Cluster created using the |
estimation_type |
(optional) Sets the type of estimation that should be possible. This has the following options:
As with |
aggregate_results |
(optional) Flag that signifies whether results
should be aggregated during evaluation. If The default value is equal to As with |
confidence_level |
(optional) Numeric value for the level at which
confidence intervals are determined. In the case bootstraps are used to
determine the confidence intervals bootstrap estimation, The default value is |
bootstrap_ci_method |
(optional) Method used to determine bootstrap confidence intervals (Efron and Hastie, 2016). The following methods are implemented:
Note that the standard method is not implemented because this method is often not suitable due to non-normal distributions. The bias-corrected and accelerated (BCa) method is not implemented yet. |
is_pre_processed |
Flag that indicates whether the data was already
pre-processed externally, e.g. normalised and clustered. Only used if the
|
feature_cluster_method |
The method used to perform clustering. These are
the same methods as for the
If not provided explicitly, this parameter is read from settings used at
creation of the underlying |
feature_linkage_method |
The method used for agglomerative clustering in
If not provided explicitly, this parameter is read from settings used at
creation of the underlying |
feature_cluster_cut_method |
The method used to divide features into
separate clusters. The available methods are the same as for the
If not provided explicitly, this parameter is read from settings used at
creation of the underlying |
feature_similarity_threshold |
The threshold level for pair-wise
similarity that is required to form feature clusters with the If not provided explicitly, this parameter is read from settings used at
creation of the underlying |
feature_similarity_metric |
Metric to determine pairwise similarity
between features. Similarity is computed in the same manner as for
clustering, and If not provided explicitly, this parameter is read from settings used at
creation of the underlying |
verbose |
Flag to indicate whether feedback should be provided on the computation and extraction of various data elements. |
message_indent |
Number of indentation steps for messages shown during computation and extraction of various data elements. |
... |
Unused arguments. |
A data.table containing pairwise distance between features. This data is only the upper triangular of the complete matrix (i.e. the sparse unitriangular representation). Diagonals will always be 0.0 and the lower triangular is mirrored.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.