knitr::opts_chunk$set(
  collapse = TRUE,
  cache = FALSE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.height = "30%",
  fig.height = 8
)

visPed R package

An R package pedigree plotter based on the kinship2 and visNetwork R packages for families affected by multiple cancer syndromes. Designed to be compatible with the BayesMendel and associated packages.

Installation

Use the latest github version by running

devtools::install_github("bayesmendel/visPed")
library(visPed)

Usage

Pass a compatible pedigree (data frame) into the function.

visPed(pedigree)

To view the pedigree as a hierarchical network, which relies on the visNetwork package, run

toVisNetwork(pedigree)

Pedigree specifications

The user must specify the pedigree argument as a data frame with the following columns:



gavin-k-lee/visPed documentation built on July 22, 2021, 1:09 p.m.