R/utils.outflank.plotter.r
utils.outflank.plotter.Rd
This function takes the output of OutFLANK as input with the OFoutput parameter. It plots a histogram of the FST (by default, the uncorrected FSTs used by OutFLANK) of loci and overlays the inferred null histogram.
utils.outflank.plotter(
OFoutput,
withOutliers = TRUE,
NoCorr = TRUE,
Hmin = 0.1,
binwidth = 0.005,
Zoom = FALSE,
RightZoomFraction = 0.05,
titletext = NULL
)
The output of the function OutFLANK()
Determines whether the loci marked as outliers (with $OutlierFlag) are included in the histogram.
Plots the distribution of FSTNoCorr when TRUE. Recommended, because this is the data used by OutFLANK to infer the distribution.
The minimum heterozygosity required before including a locus in the plot.
The width of bins in the histogram.
If Zoom is set to TRUE, then the graph will zoom in on the right tail of the distirbution (based on argument RightZoomFraction)
Used when Zoom = TRUE. Defines the proportion of the distribution to plot.
Allows a test string to be printed as a title on the graph
produces a histogram of the FST