
Create geom of TESS results that can be added to a ggplot object
geom_tess.RdThis function creates a ggplot2 geom object for visualizing TESS plots based on kriging admixture data.
Arguments
- krig_admix
SpatRaster returned by tess_krig
- plot_method
method for making rainbow map of kriged layers (options: "maxQ" to only plot the max Q value for each cell (default), "allQ" to plot all Q values greater than
minQ, "maxQ_poly" or "allQ_poly" to create the plots as previously described, but as polygons for each K instead of continuous Q values)- minQ
threshold for minimum Q-value for rainbow plotting if
plot_method = "allQ"orplot_method = "allQ_poly"is used (defaults to 0.10)
See also
Other TESS functions:
allK_plot_helper(),
bestK(),
ggbarplot_helper(),
pops_helper(),
tess_barplot(),
tess_col_default(),
tess_do_everything(),
tess_ggbarplot(),
tess_ggplot(),
tess_krig(),
tess_ktest(),
tess_legend(),
tess_plot_allK()