Description Usage Arguments Value Examples
Score the mating of a single female and male.
Apply this function to multiple matings using the rank_mates
function.
1 | score_mate(DB, female, male, type, bonus = NULL, weighted_alleles = NULL)
|
DB |
RSQLite database generated by |
female |
Sample ID of the female to compare to a male. The Sample ID
must match the ones found in the |
male |
Sample ID of the male to compare to a female. The Sample ID
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 |
dataframe
1 2 3 4 5 6 | ## Not run:
single <- score_mate(DB = DB, female = female,
male = male, type = type,
bonus=bonus, weighted_alleles=weighted_alleles)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.