Nothing
make_immunarch_features <- function(ires, method_name = NULL, feature_col = NULL, value_col = NULL) {
checkmate::check_data_frame(ires)
checkmate::check_character(method_name, null.ok = TRUE)
checkmate::check_character(feature_col, null.ok = TRUE)
checkmate::check_character(value_col, null.ok = TRUE)
to_rename <- c("feature" = feature_col, "value" = value_col)
if (is.null(method_name)) {
ires <- ires |>
mutate(method = method_name)
}
ires |>
rename(to_rename)
}
immunarch_methods <- function(family_name = NULL) {
checkmate::check_string(family_name)
if (is.null(family_name)) {
ls(IMMUNARCH_METHOD_REGISTRY)
} else if (family_name %in% IMMUNARCH_METHOD_REGISTRY) {
ls(IMMUNARCH_METHOD_REGISTRY[[family_name]])
} else {
cli::cli_abort("No such family name: {family_name}")
}
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.