Description Usage Arguments Value
View source: R/functions-alignPEAKS_helpers.R
Function estimates cosine angles between matching dataset and template peak-groups.
Function is applied to a single rt region(bin) and is used in parallel on multiple rt regions.
Function is applied to rt region within do_alignPEAKS
function.
1 | getCOSmat(ds_bin, ds_var, tmp_bin, tmp_var, mz_err, rt_err, bins)
|
ds_bin |
|
ds_var |
|
tmp_bin |
|
tmp_var |
|
mz_err |
|
rt_err |
|
bins |
|
Function returns a list with two entries:
matrix
with obtained cosines between all dataset and template peak-groups.
list
with matching template peaks for every peak-group in the dataset.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.