1. What this report is

At the beginning of the course, before the first session, every participant answered a short online survey (13 questions, about 10 minutes). It asked who they are, which crops they work with, how they analyse data today, and how they collect data in the field.

This report shows how the group looked at the start of the course, mainly with frequencies. It is a description of the group. With only 11 participants there is no room for statistical tests, so we do not claim that anything is “significant”. We read counts and patterns.

The report is written in R Markdown. Every table and figure comes from the code in the grey boxes (click Code to show or hide it), so it can be rerun with a different survey.

Privacy. Names, e-mail addresses and institutions were removed. Participants appear only as P01 to P11, and the figures never show an identifying combination of answers.

2. The data

survey <- read_csv("data/survey_baseline.csv", show_col_types = FALSE)
n_total <- nrow(survey)

# Ordered factors for the scales
survey <- survey |>
  mutate(
    r_level    = factor(r_level, levels = c("Never", "Basic", "Intermediate", "Advanced")),
    stat_level = factor(stat_level, levels = 1:5),
    position   = factor(position)
  )

# Question 13 allows several answers. One participant ticked both "No experience"
# and "I take photos but do not analyse them". We keep the more specific answer
# (photos), and describe each person by the highest level of imaging they reported.
survey <- survey |>
  mutate(img_level = case_when(
    img_nirs == 1 | img_drone == 1 | img_software == 1 ~ "Analyses images with software or sensors",
    img_photos == 1                                     ~ "Takes photos, does not analyse them",
    TRUE                                                ~ "No experience"
  ) |> factor(levels = c("No experience", "Takes photos, does not analyse them",
                         "Analyses images with software or sensors")))

# Number of analyses and software each person ticked
an_cols <- c("an_desc", "an_anova", "an_meancomp", "an_mixed", "an_herit",
             "an_spatial", "an_multienv", "an_multivar", "an_ml")
sw_cols <- c("sw_excel", "sw_r", "sw_python", "sw_sas", "sw_spss", "sw_genstat")

survey <- survey |>
  mutate(n_analyses = rowSums(across(all_of(an_cols))),
         n_software = rowSums(across(all_of(sw_cols))))

glimpse(survey[, c("id", "country", "position", "stat_level", "r_level", "n_analyses", "n_software")])
## Rows: 11
## Columns: 7
## $ id         <chr> "P01", "P02", "P03", "P04", "P05", "P06", "P07", "P08", "P0…
## $ country    <chr> "Serbia", "Portugal", "Türkiye", "Bosnia and Herzegovina", …
## $ position   <fct> Plant breeder / researcher, Plant breeder / researcher, Pla…
## $ stat_level <fct> 3, 3, 4, 1, 1, 1, 2, 3, 3, 3, 3
## $ r_level    <fct> Basic, Never, Basic, Never, Never, Never, Basic, Basic, Nev…
## $ n_analyses <dbl> 8, 3, 4, 3, 0, 1, 3, 3, 1, 5, 6
## $ n_software <dbl> 3, 2, 1, 1, 1, 1, 2, 2, 1, 3, 2

There are 11 participants and 36 variables. Each row is one participant. Questions with several answers (software, analyses, data collection, imaging) are stored as one 0/1 column per option.

Two helper functions count the options and draw the bars, so every figure is made the same way.

# Frequency of the options of a multiple-answer question
count_multi <- function(df, cols, labels) {
  tibble(label = labels, n = colSums(df[, cols])) |>
    mutate(pct = round(100 * n / nrow(df)))
}

# Horizontal bar plot with "n (percent)" labels.
# keep_order = TRUE keeps the order of the table (for scales such as 1 to 5)
plot_freq <- function(tab, title, subtitle = NULL, keep_order = FALSE, fill = col_main) {
  if (keep_order) tab$label <- fct_rev(factor(tab$label, levels = unique(tab$label)))
  else            tab$label <- fct_reorder(tab$label, tab$n)
  ggplot(tab, aes(n, label)) +
    geom_col(fill = fill, width = 0.7) +
    geom_text(aes(label = paste0(n, "  (", pct, "%)")), hjust = -0.1, size = 3.7) +
    scale_x_continuous(limits = c(0, n_total * 1.3), breaks = seq(0, n_total, 2),
                       expand = c(0, 0)) +
    labs(title = title, subtitle = subtitle, x = "Number of participants", y = NULL)
}

# Save a figure for the closing slides
save_fig <- function(p, name, w = 8, h = 4.2) {
  ggsave(file.path("figures", paste0(name, ".png")), p, width = w, height = h, dpi = 300, bg = "white")
  p
}

3. Who we are

Countries

tab_country <- survey |> count(country, name = "n") |> mutate(pct = round(100 * n / n_total), label = country)
p <- plot_freq(tab_country, "Where participants come from",
               paste0(n_total, " participants from ", nrow(tab_country), " countries"))
save_fig(p, "01_countries", h = 3.6)

Current position

tab_pos <- survey |> count(position, name = "n") |> mutate(pct = round(100 * n / n_total), label = as.character(position))
p <- plot_freq(tab_pos, "Current position")
save_fig(p, "02_position", h = 2.8)

4. Crops and reproductive system

Main crops

Participants wrote their crops freely, so we first split the answers (one participant can work with several crops) and then grouped them.

crops <- survey |>
  select(id, crop_list) |>
  separate_rows(crop_list, sep = ";") |>
  rename(crop = crop_list) |>
  mutate(group = case_when(
    crop %in% c("wheat", "proso millet", "sorghum")        ~ "Cereals",
    crop %in% c("bean", "pea")                             ~ "Grain legumes",
    crop %in% c("tomato", "potato")                        ~ "Vegetables and tubers",
    crop %in% c("olive", "Prunus (stone fruit)", "strawberry") ~ "Fruit and tree crops",
    crop %in% c("sunflower")                               ~ "Oilseeds",
    TRUE ~ "Other"))

tab_crop <- crops |> count(crop, name = "n") |> mutate(pct = round(100 * n / n_total), label = str_to_sentence(crop))
p <- plot_freq(tab_crop, "Crops the participants work with",
               "One participant can work with several crops")
save_fig(p, "03_crops", h = 4.6)

tab_group <- crops |> distinct(id, group) |> count(group, name = "n") |>
  mutate(pct = round(100 * n / n_total), label = group)
p <- plot_freq(tab_group, "Crop groups", "Number of participants working with at least one crop of the group")
save_fig(p, "04_crop_groups", h = 3.2)

Reproductive system

tab_repro <- count_multi(survey, c("repro_self", "repro_cross", "repro_veg"),
                         c("Self-pollinated", "Cross-pollinated", "Vegetatively propagated"))
p <- plot_freq(tab_repro, "Reproductive system of the crops",
               "Multiple answers allowed, so the percentages add to more than 100")
save_fig(p, "05_repro", h = 3)

This matters for mutation breeding: the reproductive system decides how mutations are fixed and selected (inbred lines in self-pollinated crops, clonal propagation or chimeras in vegetatively propagated crops).

5. Statistics and software

Self-rated level in statistical analysis

tab_stat <- survey |> count(stat_level, .drop = FALSE, name = "n") |>
  mutate(pct = round(100 * n / n_total),
         label = case_match(as.character(stat_level),
                            "1" ~ "1  Beginner", "2" ~ "2", "3" ~ "3", "4" ~ "4", "5" ~ "5  Expert"))
p <- plot_freq(tab_stat, "Self-rated level in statistical analysis",
               "Scale from 1 (beginner) to 5 (expert)", keep_order = TRUE)
save_fig(p, "06_stat_level", h = 3.4)

survey |>
  summarise(Median = median(as.numeric(as.character(stat_level))),
            Mean   = round(mean(as.numeric(as.character(stat_level))), 1),
            Min    = min(as.numeric(as.character(stat_level))),
            Max    = max(as.numeric(as.character(stat_level)))) |>
  kable(caption = "Self-rated statistical level (1 to 5)")
Self-rated statistical level (1 to 5)
Median Mean Min Max
3 2.5 1 4

Software used for data analysis

tab_sw <- count_multi(survey, c("sw_excel", "sw_r", "sw_python", "sw_sas", "sw_spss", "sw_genstat", "sw_none"),
                      c("Excel", "R / RStudio", "Python", "SAS", "SPSS", "Genstat", "None"))
p <- plot_freq(tab_sw, "Software used for data analysis", "Multiple answers allowed")
save_fig(p, "07_software", h = 4)

Level in R

tab_r <- survey |> count(r_level, .drop = FALSE, name = "n") |>
  mutate(pct = round(100 * n / n_total),
         label = case_match(as.character(r_level),
           "Never" ~ "Never used it",
           "Basic" ~ "Basic (import data, simple functions)",
           "Intermediate" ~ "Intermediate (own scripts)",
           "Advanced" ~ "Advanced (functions or packages)"))
p <- plot_freq(tab_r, "Level in R at the start of the course", keep_order = TRUE)
save_fig(p, "08_r_level", h = 3.4)

Nobody described themselves as intermediate or advanced in R at the start, and a share of the group had never used it. This is the starting point for the practical work done in R Markdown during the course.

6. Which analyses do participants use today?

tab_an <- count_multi(survey, c(an_cols, "an_none"),
  c("Descriptive statistics and graphs", "ANOVA", "Mean comparison tests", "Mixed models (BLUEs / BLUPs)",
    "Heritability and genetic parameters", "Spatial analysis", "Multi-environment trials, GxE, stability",
    "Multivariate analysis (PCA, cluster)", "Machine learning", "None yet"))
p <- plot_freq(tab_an, "Analyses participants currently use with their data",
               "Multiple answers allowed", fill = col_main)
save_fig(p, "09_analyses", h = 5)

The pattern is clear: descriptive statistics, ANOVA and mean comparison tests are widely used, while the tools that this course focuses on (mixed models, heritability, spatial analysis, multi-environment trials) are used by only a few participants. These are the topics where the course aimed to add the most.

How many different analyses does each person use?

p <- survey |>
  mutate(id = fct_reorder(id, n_analyses)) |>
  ggplot(aes(n_analyses, id)) +
  geom_col(fill = col_soft, width = 0.7) +
  geom_text(aes(label = n_analyses), hjust = -0.3, size = 3.7) +
  scale_x_continuous(limits = c(0, 10), breaks = 0:9, expand = c(0, 0)) +
  labs(title = "Number of different analyses each participant uses",
       subtitle = "Out of 9 listed options (excluding 'None yet')", x = "Number of analyses", y = NULL)
save_fig(p, "10_n_analyses", h = 4)

Who uses what

Each row is one participant (anonymous code) and each column an analysis. A filled square means the participant ticked that analysis. Participants are sorted by the number of analyses they use, and the columns by how many people use them.

an_labels <- c(an_desc = "Descriptive", an_anova = "ANOVA", an_meancomp = "Mean comparison",
               an_mixed = "Mixed models", an_herit = "Heritability", an_spatial = "Spatial",
               an_multienv = "Multi-environment", an_multivar = "Multivariate", an_ml = "Machine learning")

long <- survey |>
  select(id, n_analyses, all_of(an_cols)) |>
  pivot_longer(all_of(an_cols), names_to = "analysis", values_to = "used") |>
  mutate(analysis = factor(an_labels[analysis], levels = an_labels[names(sort(colSums(survey[an_cols]), decreasing = TRUE))]),
         id = fct_reorder(id, n_analyses))

p <- ggplot(long, aes(analysis, id, fill = factor(used))) +
  geom_tile(colour = "white", linewidth = 1) +
  scale_fill_manual(values = c("0" = "#EEF2F1", "1" = col_main), guide = "none") +
  scale_x_discrete(position = "top") +
  labs(title = "Analyses used by each participant", x = NULL, y = NULL) +
  theme(axis.text.x = element_text(angle = 35, hjust = 0), panel.grid = element_blank(),
        plot.margin = margin(5.5, 60, 5.5, 5.5))
save_fig(p, "11_heatmap", h = 5.2)

7. How is field data collected?

tab_col <- count_multi(survey, c("col_paper", "col_excel", "col_fieldbook", "col_gridscore"),
                       c("Paper field books", "Excel on a laptop or tablet", "Field Book app", "GridScore"))
p <- plot_freq(tab_col, "How participants collect field data", "Multiple answers allowed")
save_fig(p, "12_collection", h = 3)

Paper and Excel dominate. Apps designed for field data capture (Field Book, GridScore) were not used by anyone at the start. Digital capture with a fixed trial layout (plot, row, column) is what makes spatial analysis possible later, so this is a practical point to take home.

8. Imaging and high-throughput phenotyping

tab_img <- survey |> count(img_level, .drop = FALSE, name = "n") |>
  mutate(pct = round(100 * n / n_total), label = as.character(img_level))
p <- plot_freq(tab_img, "Experience with imaging or high-throughput phenotyping",
               "Highest level reported by each participant", keep_order = TRUE)
save_fig(p, "13_imaging", h = 3)

9. Putting the pieces together

Statistical level and R level

survey |>
  count(stat_level, r_level, .drop = FALSE) |>
  pivot_wider(names_from = r_level, values_from = n, values_fill = 0) |>
  rename(`Self-rated statistics level` = stat_level) |>
  kable(caption = "Number of participants by self-rated statistics level (rows) and R level (columns)")
Number of participants by self-rated statistics level (rows) and R level (columns)
Self-rated statistics level Never Basic Intermediate Advanced
1 3 0 0 0
2 0 1 0 0
3 2 4 0 0
4 0 1 0 0
5 0 0 0 0

Do people who use R also use more analyses?

survey |>
  mutate(`R user (R / RStudio ticked)` = if_else(sw_r == 1, "Yes", "No")) |>
  group_by(`R user (R / RStudio ticked)`) |>
  summarise(Participants = n(),
            `Median number of analyses` = median(n_analyses),
            `Range` = paste(min(n_analyses), "to", max(n_analyses)),
            .groups = "drop") |>
  kable(caption = "Number of analyses used, by use of R")
Number of analyses used, by use of R
R user (R / RStudio ticked) Participants Median number of analyses Range
No 6 2 0 to 4
Yes 5 5 3 to 8

Self-rated level and number of analyses

p <- ggplot(survey, aes(as.numeric(as.character(stat_level)), n_analyses)) +
  geom_jitter(width = 0.08, height = 0.08, size = 3.2, colour = col_main, alpha = 0.85) +
  scale_x_continuous(limits = c(0.7, 5.3), breaks = 1:5) +
  scale_y_continuous(limits = c(-0.3, 9.3), breaks = 0:9) +
  labs(title = "Self-rated statistical level and number of analyses used",
       subtitle = "Each point is one participant (slightly jittered so overlapping points are visible)",
       x = "Self-rated level (1 = beginner, 5 = expert)", y = "Number of analyses used") +
  theme(panel.grid.major.y = element_line(colour = "grey90"))
save_fig(p, "14_level_vs_analyses", h = 4)

rho <- cor(as.numeric(as.character(survey$stat_level)), survey$n_analyses, method = "spearman")
round(rho, 2)
## [1] 0.6

The Spearman correlation between self-rated level and the number of analyses used is 0.6. With 11 people this is only a rough indication of whether the two answers move together, not a test.

10. Summary

  • The group. 11 participants from 8 countries, mostly plant breeders and researchers, working with 11 different crops.
  • Statistics. Self-rated level went from 1 to 4 on the 5-point scale. Nobody rated themselves as an expert, and most participants were in the middle (median 3).
  • Software. Excel is the common denominator (91% of participants). 45% had never used R, and nobody reported an intermediate or advanced level.
  • Analyses. Descriptive statistics, ANOVA and mean comparisons were the standard tools. Mixed models (18%), heritability (18%), spatial analysis (9%) and multi-environment analysis (27%) were used by a minority.
  • Field data. Paper and Excel dominated. Field data capture apps were used by 0% of participants.
  • Imaging. 64% reported no experience with imaging or high-throughput phenotyping.

Take-home message: the course started from a group with solid basics (descriptive statistics, ANOVA) and little exposure to R, mixed models, genetic parameters and spatial analysis. These are the topics the course focused on.

11. Notes on the data

  • All numbers come from the 11 survey responses received before the course. Percentages are out of 11 participants, so each person is about 9 percentage points.
  • Questions with several answers (software, analyses, data collection, imaging, reproductive system) add to more than 100%.
  • One participant ticked both “No experience” and “I take photos of plants but do not analyse them” in the imaging question. We counted the more specific answer (photos).
  • The R level (question 10) and the software list (question 9) do not always agree. For example, one participant reported a basic R level without listing R as software currently used. Both answers are reported as given.
  • The crop answers were free text and were grouped by hand (see the crops chunk).

Session information

sessionInfo()
## R version 4.6.1 (2026-06-24)
## Platform: aarch64-apple-darwin23
## Running under: macOS Tahoe 26.5.1
## 
## Matrix products: default
## BLAS:   /Library/Frameworks/R.framework/Versions/4.6/Resources/lib/libRblas.0.dylib 
## LAPACK: /Library/Frameworks/R.framework/Versions/4.6/Resources/lib/libRlapack.dylib;  LAPACK version 3.12.1
## 
## locale:
## [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
## 
## time zone: America/Bogota
## tzcode source: internal
## 
## attached base packages:
## [1] stats     graphics  grDevices utils     datasets  methods   base     
## 
## other attached packages:
## [1] knitr_1.52    ggplot2_4.0.3 stringr_1.6.0 forcats_1.0.1 tidyr_1.3.2  
## [6] dplyr_1.2.1   readr_2.2.0  
## 
## loaded via a namespace (and not attached):
##  [1] bit_4.6.0          gtable_0.3.6       jsonlite_2.0.0     crayon_1.5.3      
##  [5] compiler_4.6.1     tidyselect_1.2.1   parallel_4.6.1     jquerylib_0.1.4   
##  [9] textshaping_1.0.5  systemfonts_1.3.2  scales_1.4.0       yaml_2.3.12       
## [13] fastmap_1.2.0      R6_2.6.1           generics_0.1.4     tibble_3.3.1      
## [17] RColorBrewer_1.1-3 bslib_0.12.0       pillar_1.11.1      tzdb_0.5.0        
## [21] rlang_1.3.0        cachem_1.1.0       stringi_1.8.9      xfun_0.61         
## [25] S7_0.2.2           sass_0.4.10        bit64_4.8.6        otel_0.2.0        
## [29] cli_3.6.6          withr_3.0.3        magrittr_2.0.5     digest_0.6.39     
## [33] grid_4.6.1         vroom_1.7.1        rstudioapi_0.19.0  hms_1.1.4         
## [37] lifecycle_1.0.5    vctrs_0.7.3        evaluate_1.0.5     glue_1.8.1        
## [41] farver_2.1.2       ragg_1.5.2         rmarkdown_2.32     purrr_1.2.2       
## [45] tools_4.6.1        pkgconfig_2.0.3    htmltools_0.5.9