R/is_ortho_detection_method.R

Defines functions is_ortho_detection_method

is_ortho_detection_method <- function(method = NULL){

  provided <- c("DIAMOND-BH","DIAMOND-RBH")

  if(is.null(method)){
    message("The followig methods are provided: ", paste0(provided, collapse = ", "))
    return(FALSE)
  }

  return(is.element(method, provided))
}
drostlab/homologr documentation built on Sept. 28, 2020, 12:44 a.m.