# NOT RUN {
if(interactive()){
# Loading FIGS subset for wheat sodicity resistance
data(FIGS)
# World Map showing locations of accessions
mapAccessions(df = FIGS, long = "Longitude", lat = "Latitude")
# Map plotting locations of accessions with points coloured
# based on a gradient scale of SodicityIndex values
mapAccessions(FIGS, long = "Longitude", lat = "Latitude",
y = "SodicityIndex")
# Map plotting locations of accessions with points
# coloured based on levels of y
mapAccessions(FIGS, long = "Longitude", lat = "Latitude",
y = "PopulationType")
}
# }
Run the code above in your browser using DataLab