View source: R/selectAnchors.R
identityAnchorSelection | R Documentation |
This is an optional helper function for selectAnchors
. Uses identities
to guide selection of ordered retention time pairs. If useID option is set to
TRUE, it will select pairs of features with matching ID character strings
before proceeding with iterative anchor selection.
identityAnchorSelection(cTable, windx, windy, useID, brackets)
cTable |
data frame, contains only feature ids, mzs, rts, Qs, & labels |
windx |
numeric positive retention time exclusion window in X dataset |
windy |
numeric positive retention time exclusion window in Y dataset |
useID |
logical. Operation proceeds if TRUE, terminates otherwise. |
brackets |
If useID = TRUE, bracketed identity strings of the types included in this argument will be ignored |
Identity anchors are allowed to violate constraints of m/z, Q, and rtq difference tolerances, and will not be removed if they fall within a rt exclusion window of other features. If a name appears more than once, only the pair with the highest relative abundance is selected.
combinedTable with updated anchor labels
selectAnchors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.