Description Usage Arguments Value Examples
View source: R/get_all_rankings.R
Wrapper function to score the mating of all females to all males.
This function is a wrapper function for rank_mates
.
It is not recommended to use more than 10x10 samples.
1 2 3 4 5 6 7 8 | get_all_rankings(
DB,
females,
males,
type = "all_alleles",
bonus = NULL,
weighted_alleles = NULL
)
|
DB |
RSQLite database generated by |
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 |
type |
The type of mating that is advantageous.
|
bonus |
Numeric value to increase mating score if the state of alleles
specified in |
weighted_alleles |
vector listing allele IDs to calculate the bonus. Must
specify |
List of dataframes - dataframe for each female ranked by best mating score.
1 2 3 4 5 6 | ## Not run:
all_mates <- get_all_rankings(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.