R/utilities.R

Defines functions check_outfmt10

check_outfmt10 <- function(outfmt10){
  column_names <- c("qseqid", "sseqid", "bitscore")
  if(!all(column_names %in% colnames(outfmt10))){
    stop("The argument passed to this function does not seem to have been
         imported with read_outfmt10().")
  }
}

#' @importFrom dplyr %>%
#' @export
dplyr::`%>%`
seankross/halcyon documentation built on May 29, 2019, 4:55 p.m.