Description Usage Arguments Value Examples
Plotting Pedigree tree
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
)
|
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 |
plot pedigree matrices file.
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() )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.