famSearch {relSim} | R Documentation |
Search a database for siblings or children
Description
This function searches a database of profiles for either a sibling or a child
Usage
famSearch(profiles, siblings, children, listFreqs, step)
Arguments
profiles |
an integer vector of stacked profiles representing the database. This vector has |
siblings |
an integer vector of stacked profiles representing the siblings of the profiles in database.
The first entry is a sibling of the first entry in |
children |
an integer vector of stacked profiles representing the children of the profiles in database.
The first entry is a child of the first entry in |
listFreqs |
is a set of allele frequencies representing a particular multiplex. The function assumes that that loci in the profiles
are in the same order as the loci in this list. The data structure is a |
step |
A step size for progress reporting, i.e. print out progress every |
Value
a List
containing two dataframes, one called sibs
and one called children
. Each dataframe has results from searching for
either the sibling or the child in the database. For each entry there is a record of which profile gave the highest LR (and its value),
and the position of the actual sibling or parent/child in the database (and its respective LR).
Author(s)
James Curran