View source: R/polyqtlR_functions.R
| visualisePairing | R Documentation | 
Function to visualise the pairing of parental homologues across the population using graph, with nodes to denote parental homologues and edges to denote deviations from expected proportions under a polysomic model of inheritance
visualisePairing(
  meiosis_report.ls,
  pos.col = "red",
  neg.col = "blue",
  parent,
  max.lwd = 20,
  datawidemax,
  add.label = TRUE,
  return.data = FALSE,
  ...
)
| meiosis_report.ls | List output of function  | 
| pos.col | Colour corresponding to excess of pairing associations predicted (positive deviations), by default red | 
| neg.col | Colour corresponding to lack of pairing associations predicted (negative deviations), by default blue | 
| parent | The parent, either "P1" (mother) or "P2 (father) | 
| max.lwd | Maximum line width, by default 20 | 
| datawidemax | This argument is currently a work-around to allow multiple plots to have the same scale (line thicknesses consistent).
No default is provided. To estimate this value, simply set argument  | 
| add.label | Should a label be applied, giving the maximum deviation in the plot? By default  | 
| return.data | Should plot data be returned? By default  | 
| ... | Optional arguments passed to  | 
If return.data = TRUE, the values for pairwise deviations from the expected numbers are 
returned, useful for determining the value datawidemax to provide consistent scaling across multiple plots
data("mr.ls")
visualisePairing(meiosis_report.ls = mr.ls,
                 parent = "P1",
                 datawidemax = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.