R/delete_files_bolt.R

Defines functions delete_files_bolt

Documented in delete_files_bolt

#' Delete BOLT-LMM output
#'
#' This function deletes the BOLT-LMM output file (`bolt.txt` extension) given the base file path, warning if the file did not exist or if it was not successfully deleted.
#'
#' @param file The file path (excluding extension `bolt.txt`).
#'
#' @return Nothing
#'
#' @examples
#' \dontrun{
#' delete_files_bolt("data")
#' }
#'
#' @seealso
#' [bolt_lmm()]
#' 
#' @export
delete_files_bolt <- function( file ) {
    # use genio's internal code
    genio:::delete_files_generic( file, 'bolt.txt' )
}
OchoaLab/genbin documentation built on Nov. 14, 2024, 7:33 p.m.