This function plots the diversity index metrics.
Examples
if (FALSE) { # \dontrun{
proj <- reTCR::get_study(id = "PRJNA473147", attr_col = "cmv_status")
reTCR::plot_diversity_index(
proj@diversity@shannon,
"shannon_wiener_index",
"cmv_status"
)
} # }