View source: R/phyloscan.fun.private.R
phsc.plot.windowassignments.by.runs | R Documentation |
This function plots the window assignments for each pair of individuals and for several phyloscanner runs.
phsc.plot.windowassignments.by.runs(
rplkl2,
plot.file,
plot.prob.select,
cols.run,
cols = NULL,
group = NA,
height = 40
)
rplkl2 |
Posterior probability assignments for pairs of individuals. This is specified as a data.table with columns RUN, PTY_RUN, MALE_SANGER_ID, FEMALE_SANGER_ID, TYPE, KEFF, POSTERIOR_ALPHA, POSTERIOR_BETA |
plot.file |
Name of output file |
cols |
Colours for relationship types. This is specified as a named vector, which can be null. |
group |
Relationship group name. This is used to define default colours if cols==NULL. |
height |
Total height of pdf in inches. This is overwritten if group is specified. |
Plots to file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.