plotPedigree: Plot Pedigree

Description Usage Arguments Value Examples

View source: R/plotPedigree.R

Description

Plotting Pedigree tree

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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

1
2
3
4
5
# 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() )

AlphaBeta documentation built on Nov. 8, 2020, 6:30 p.m.