View source: R/findExclusions.R
findExclusions | R Documentation |
Find markers for which the genotypes of a candidate individual is incompatible with a pedigree
findExclusions(x, id, candidate, removeMut = TRUE)
x |
A |
id |
A character of length 1; the name of an untyped member of |
candidate |
A singleton pedigree, with genotypes for the same markers as |
removeMut |
A logical. If TRUE (default), all mutations models are stripped. |
A character vector containing the names of incompatible markers.
db = NorwegianFrequencies[1:5]
# Pedigree with 3 siblings; simulate data for first two
x = nuclearPed(3) |>
profileSim(ids = 3:4, markers = db, seed = 1)
# Simulate random person
poi = singleton("POI") |>
profileSim(markers = db, seed = 1)
# Identify incompatible markers
findExclusions(x, id = 5, candidate = poi) # D21S11
# Inspect
plotPedList(list(x, poi), marker = "D21S11", hatched = typedMembers)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.