View source: R/cluster_peaks.R
cluster_peaks | R Documentation |
rt_min
/rt_max
columns,
clusters the peaks based on fraction overlap,
returns the same tibble with cluster index.Cluster peaks
Takes a summary table of peaks with rt_min
/rt_max
columns,
clusters the peaks based on fraction overlap,
returns the same tibble with cluster index.
cluster_peaks(peaks, thres_lap)
peaks |
Tibble with |
thres_lap |
Fraction of RT overlap required for peaks to cluster (calculated as a fraction of the narrower peak) |
Input tibble but with clust_id
column added
peaks_clustered <- peaks %>% cluster_peaks(thres_lap = 0.8)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.