plotPedigree: Plot Pedigree

View source: R/plotPedigree.R

plotPedigreeR Documentation

Plot Pedigree

Description

Plotting Pedigree tree

Usage

plotPedigree(
  nodelist,
  edgelist,
  sampling.design,
  out.pdf = NULL,
  output.dir = NULL,
  plot.width = 11,
  plot.height = 8,
  vertex.label = NULL,
  vertex.size = 12,
  aspect.ratio = 2.5
)

Arguments

nodelist

input file containing information on generation times and pedigree lineages "extdata" called "nodelist.fn"

edgelist

input file containing edges "edgelist.fn"

sampling.design

"progenitor.intermediate"; "sibling"; "progenitor.endpoint";"tree"

out.pdf

output file name

output.dir

output directory

plot.width

plotting with

plot.height

plotting height

vertex.label

label vertix

vertex.size

size of vertix

aspect.ratio

aspect.ration

Value

plot pedigree matrices file.

Examples

# Get some toy data
file <- system.file("extdata/dm/","nodelist.fn", package="AlphaBeta")
file2 <- system.file("extdata/dm/","edgelist.fn", package="AlphaBeta")
plotPedigree(nodelist = file, edgelist=file2, sampling.design="sibling",vertex.label=TRUE,
 out.pdf="Plot", output.dir=getwd() )

jlab-code/AlphaBeta documentation built on April 23, 2022, 11:02 a.m.