DF4Plot1Prof {fst4pg}R Documentation

DF4Plot1Prof

Description

Shape the data for Fst profile representation

Usage

DF4Plot1Prof(Info, HF, FstProf, Coord = NULL, Threshold = NULL)

Arguments

Info

a data.frame providing information about markers

HF

a data.frame with 2 columns Fst and Weight, as obtained from the HudsonFst.m function

FstProf

an Fst profile, as obtained from the HudsonFst.prof function

Coord

a vector with the minimum and maximum coordinates (i.e. positions along the genome), providing the range of the genomic region that will be plotted, optional.

Threshold

a numeric value. Markers belonging to regions whose Fst profile is higher than threshold will be highlighted. Optional.

Value

a data.frame that can be used as an input for function Plot1Prof


[Package fst4pg version 1.0.0 Index]