Function that generate an Heatmap of Fst and CI values
heatmap_fst(
pairwise.fst.full.matrix,
pairwise.fst.ci.matrix,
pop.levels = NULL,
n.s = TRUE,
digits = 5,
color.low = "blue",
color.mid = "yellow",
color.high = "red",
text.size = 4,
plot.size = NULL,
path.folder = NULL,
filename = NULL
)
(object or path).
(object or path).
(optional, character, string) If not supplied,
the order is set from the colnames of the full fst matrix.
Default: pop.levels = NULL
.
(optional, logical) To have an * when the Fst value is not
significant (0 is the lower bound of the CI).
Default: n.s = TRUE
.
(optional, integer) The number of digits showed in the heatmap.
Default: digits = 5
.
(optional, character) Color of lower bound.
Default: color.low = "blue"
.
(optional, character) Mid color value.
Default: color.mid = "yellow"
.
(optional, character) Color of higher bound.
Default: color.high = "red"
.
(optional, integer) Size of the values.
Default: text.size = 2
.
(optional, integer) By default the size is
the number of strata * 2
in cm.
Default: plot.size = NULL
.
(optional, character)
Default: path.folder = NULL
. Default will use the working directory.
(optional, character) Name of the plot to write.
Default: filename = NULL
. With default, the plot is not written to disk.