compatible.genotypes: likeLTD::compatible.genotypes

Description Usage Arguments Value

View source: R/genetics.R

Description

Genetics make-up of nUnknown unprofiled contributors for given locus.

Usage

1
2
compatible.genotypes(cspPresence, profPresence, alleleNames, nUnknowns,
                            dropin=FALSE, missingReps=NULL)

Arguments

cspPresence

Crime Scene Profile for given locus. This should be a matrix where rows are replicas and contributors, columns are alleles for the given locus, and the input is TRUE or FALSE and indicates the presence of that particular allele.

profPresence

Known profiles for given locus. Same type of format as cspLocus.

alleleNames

Name of the alleles, e.g. columns of the previous two

nUnknowns

number of unknown contributors

dropin

TRUE if modelling drop-ins

missingReps

List of booleans indicating whether a replicate is missing in cspPresence

Value

A m by (2n) matrix where the colums (grouped by twos) correspond to contributors, and each row is their potential contribution to the CSP.


likeLTD documentation built on May 1, 2019, 7:58 p.m.