View source: R/feature_clustering.R
compress_clusters | R Documentation |
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 fData part, under Cluster_features.
compress_clusters(object)
object |
a MetaboSet object |
a MetaboSet object with only one feature per cluster
cluster_features
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.