get_mode | R Documentation |
This function gets the mode of a vector for majority voting or returns NA if there is no single mode
get_mode(vector)
vector |
A subset of donor haplotypes |
Adapted from #from https://stackoverflow.com/questions/56552709/r-no-mode-and-exclude-na?noredirect=1#comment99692066_56552709
mode The most frequent value or NA at a position
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.