Description Usage Arguments Value
View source: R/functions-validPEAKS_helpers.R
Functions correlates all peaks of a peak-groups across all samples in which they were detected. Obtained Pearson correlation coefficients are used to build a peak-peak network with pairs above selected correlation threshold. igraph Cluster Label Propagation algorithm is used to detect communities of peaks with the network. These communities are returned as independent peak-goups, or, Pseudo Chemical Spectra.
1 | validPEAKGR(pkg, pkg_ints, out_dir, cor_thr, min_samples_n, save_plot = FALSE)
|
pkg |
|
pkg_ints |
|
out_dir |
|
cor_thr |
|
min_samples_n |
|
save_plot |
|
Function returns a list
for every community into which peak-group was split to by the Cluster Label Propagation algorithm.
Each element of the returned list contains centWave values for every community peak in the samples in which it was detected.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.