R/save_annotations.R

Defines functions save_annotations

save_annotations <- function(gr,
                             anno_path = tempfile(fileext = ".rds"),
                             libName,
                             verbose = TRUE) {
    messager("Saving annotations ==>", anno_path, v = verbose)
    dir.create(dirname(anno_path), showWarnings = FALSE, recursive = TRUE)
    saveRDS(gr, file.path(anno_path))
}
RajLabMSSM/echoannot documentation built on Oct. 26, 2023, 2:41 p.m.