Description Usage Arguments Value See Also Examples
View source: R/feature_clustering.R
This function compresses clusters found by cluster_features, keeping only the feature with the highest median peak area. The features that were discarded are recorded in the results part, under Cluster_features.
1 | compress_clusters(object)
|
object |
a MetaboSet object |
a MetaboSet object with only one feature per cluster
1 2 | clustered <- cluster_features(example_set, rt_window = 1, corr_thresh = 0.5, d_thresh = 0.6)
compressed <- compress_clusters(clustered)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.