Description Usage Arguments Value Examples
View source: R/rank_all_mates.R
This function takes the output of get_all_rankings
and ranks all possible matings so
that the sum of the score of all mate pairings is optimized.
This function uses a permutation without replacement and makes a matrix of the size
of all possibilities. It is not recommended to use more than 10x10 samples.
1 | rank_all_mates(females, males, ranked_list, output_head = 5)
|
females |
Vector of sample IDs of the females to compare to the males. The Sample IDs
must match the ones found in the |
males |
Vector of sample IDs of the males to compare to the females. The Sample IDs
must match the ones found in the |
ranked_list |
List output from |
Output_head |
Integer value for the top number of mating pairings. Default: top 5 mating pairings |
Dataframe
1 2 3 4 5 6 | ## Not run:
all_mates <- rank_all_mates(DB = DBs, female = females,
males = males, type = "all_alleles",
bonus=NULL, weighted_alleles=NULL)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.