R/magma_os_suffix.R

Defines functions magma_os_suffix

Documented in magma_os_suffix

#' Get MAGMA OS suffix
#' 
#' Get the corresponding MAGMA executable file suffix for a given OS.
#' 
#' @param os Operating System.
#' 
#' @keywords internal 
magma_os_suffix <- function(os=get_os()) { 
    os_suffix <- switch(EXPR = os,
        Mac = "_mac",
        Windows = "_win",
        Linux = "",
        NULL = ""
    )
    return(os_suffix)
}
neurogenomics/MAGMA_Celltyping documentation built on Oct. 12, 2024, 12:36 a.m.