plotPedigree | R Documentation |
Plotting Pedigree tree
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.
# 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.