pedigree_graph: Make a pedigree graph

Description Usage Arguments Value

View source: R/pedigree-graph.R

Description

Make a pedigree graph

Usage

1
2
pedigree_graph(pedigree, founder_names = NULL, highlight_funnel = NULL,
  show_founder_id = TRUE, show_points = TRUE)

Arguments

pedigree

A pedigree dataframe with columns: f, m, id, gen

founder_names

A character vector giving founder names in the same order as the funnels

highlight_funnel

A string of length eight defining a funnel to highlight.

show_founder_id

logical. Should the founder ids be shown?

show_points

logical. Should a point be shown for each individual?

Value

a ggplot2 object


alexwhan/funnelvision documentation built on Nov. 1, 2019, 9:11 p.m.