Familias is a widely used program for computations in forensic genetics. The
function documented here facilitates the use of paramlink
for
specialized computations which are not implemented in Familias, e.g.
conditional simulations.
Familias2linkdat(familiasped, datamatrix, loci)readFamiliasLoci(loci)
connectedComponents(ID, FID, MID)
A FamiliasPedigree
object or a
list of such.
A data frame with two columns per marker (one for each allele) and one row per individual.
A FamiliasLocus
object or a list of such.
An integer vector: Individual ID.
An integer vector: ID of father.
An integer vector: ID of mother.
A linkdat
object, or a list of such.
The Familias program represents pedigrees and marker data in a way that
differs from paramlink
in several ways, mostly because of
paramlink
's stricter definition of a 'pedigree'. In paramlink
,
a pedigree must be connected, have numerical IDs, and each member must have
either 0 or 2 parents present in the pedigree. None of this is required by
FamiliasPedigree
objects. The conversion function
Familias2linkdat
takes care of all of these potential differences: It
converts each FamiliasPedigree
into a list of connected linkdat objects,
additional parents are added where needed, and non-numerical ID labels are
stored in the plot.labels
slot of the linkdat object(s).
Windows Familias is freely available from https://familias.name.
# NOT RUN {
x = nuclearPed(1)
# }
Run the code above in your browser using DataLab