map_profile_to_target {minSNPs} | R Documentation |
map_profile_to_target
Description
map_profile_to_target
creates a mapping of the profile to the target, breaking the ties by the priority.
Usage
map_profile_to_target(meta, patterns, priority, sensitive_to_1 = FALSE)
Arguments
meta |
A data.table containing the meta data |
patterns |
A list of the patterns from |
priority |
A data.table of the targets and priority, either generated by |
sensitive_to_1 |
whether to be completely sensitive to the first target (percent default), set to TRUE for percent |
Value
A vector of the targets in order of priority
[Package minSNPs version 0.2.0 Index]