R/is_dnds_estimator.R

Defines functions is_dnds_estimator

is_dnds_estimator <- function(method = NULL){

  provided <- c("Li")

  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.