missing.person.plot: Plots hypotheses for family reunion

Description Usage Arguments Details Author(s) See Also Examples

Description

A panel with two plots are generated. To the left, the one corresponding to the person of interest (POI) being identical to the Missing Person (MP). To the right these persons are urelated.

Usage

1
2
3
4
5
6
missing.person.plot(ped_related, missing, id.labels=NULL,
  available="shaded", marker=NULL, width=c(4,4,1), newdev=TRUE,
	frametitles=c("H1: POI related", "H2:POI unrelated"), ...)
	
internalID(x, orig.ids)
getSex(x, orig.ids) 

Arguments

ped_related

A linkdat object.

missing

An integer giving the MP.

id.labels

Character vector naming individuals in plot.

available

Character determining how genotyped individuals are displayed.

marker

Integer vector indicating markers to be displayed.

width

A numeric vector of relative widths of the subplots. Recycled to length(plot.arg.list) if necessary, before passed on to layout. Note that the vector does not need to sum to 1.

newdev

logical. If TRUE, new plot window is generated.

frametitles

A character vector of length two giving titles.

...

Further arguments passed on to each call to plotPedList

x

linkdat object.

orig.ids

Character or integer vector,

Details

See example in the Examples section below.

Author(s)

Magnus Dehli Vigeland and Thore Egeland

See Also

plotPedList

Examples

1
2
3
4
5
6
7
8
data(grandmother)
pedigrees = grandmother$pedigrees
datamatrix = grandmother$datamatrix
datamatrix[3,]=1
loci = grandmother$loci
x1 = Familias2linkdat(pedigrees, datamatrix, loci)
missing.person.plot(x1[[1]],2, available="shaded", frametitles=c("",""), 
  newdev=TRUE, width=c(1,2), marker=1)

Example output

Loading required package: Familias
Loading required package: kinship2
Loading required package: Matrix
Loading required package: quadprog
Loading required package: paramlink
Loading required package: Rsolnp

fam2r documentation built on May 2, 2019, 1:09 p.m.