ContrastGraphSummary {fst4pg}R Documentation

ContrastGraphSummary

Description

Display mean ratio and/or number of selection graphs

Usage

ContrastGraphSummary(
  CS,
  Info,
  Ratio.thres,
  Coef = 1,
  CutNbSel = NULL,
  CutMeanRatio = NULL
)

Arguments

CS

a contrast summary, as provided by function ContrastSummary

Info

a data.frame providing information about markers

Ratio.thres

a numeric value, regions exhibiting Fst levels whose ratio with the reference level is higher than Ratio.thres will be highlighted.

Coef

a scalar, controling font sizes for the graph, optional

CutNbSel

a scalar, providing a y-value for an horizontal line on the NbSel graph

CutMeanRatio

a scalar, providing a y-value for an horizontal line on the MeanRatio graph

Value

two ggplots objects, called NbSel and MeanRatio, respectively.


[Package fst4pg version 1.0.0 Index]