View source: R/xmod_double_mapping.R
xmod_double_mapping | R Documentation |
Function that plots two XMOD maps, one with the selected minerals and one with the remaining minerals. This allows to highlight paragenetic relationships.
xmod_double_mapping(
xmod_dfs_list,
cutoff = 0.2,
sel_min,
sel_min_wrap = "Selected",
gangue_min_wrap = "Gangue",
color_sel_min = ggplot2::scale_color_viridis_d,
color_gangue_min = ggplot2::scale_color_viridis_d,
my_sel_colors = FALSE,
my_gangue_colors = FALSE,
name_append = NULL,
directory = "./XMOD_Plots",
filetype = ".png"
)
xmod_dfs_list |
A list containing all the XMOD dataframes to plot. |
cutoff |
Minimum percentage a mineral must occur in the map with remaining minerals. |
sel_min |
Vector containing the selected minerals. |
sel_min_wrap |
Name of the selected minerals. Defaults to Ore. |
gangue_min_wrap |
Name of the remaining minerals. Defaults to Gangue. |
color_sel_min |
Color scale for the selected minerals. Default is the viridis color scale. If color provided to my_sel_colors this one needs not to be changed. |
color_gangue_min |
Color scale for the remaining minerals. Default is the plasma virdis color scale. If color provided to my_gangue_colors this one needs not to be changed. |
my_sel_colors |
Custom color values for the selected minerals. |
my_gangue_colors |
Custom color values for the remaining minerals. |
name_append |
Suffix to append to the plot file. |
directory |
Directory created within the current working environment in which the plots are saved. !Warning! This might override existing data. |
filetype |
Filetype ending. Default is ".png". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.