phsc.plot.windowassignments.by.runs: Compare window assignments by different phyloscanner runs

View source: R/phyloscan.fun.private.R

phsc.plot.windowassignments.by.runsR Documentation

Compare window assignments by different phyloscanner runs

Description

This function plots the window assignments for each pair of individuals and for several phyloscanner runs.

Usage

phsc.plot.windowassignments.by.runs(
  rplkl2,
  plot.file,
  plot.prob.select,
  cols.run,
  cols = NULL,
  group = NA,
  height = 40
)

Arguments

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.

Value

Plots to file.


olli0601/Phyloscanner.R.utilities documentation built on May 6, 2024, 8:11 p.m.