##' @importFrom utils packageDescription
.onAttach <- function(libname, pkgname) {
pkgVersion <- packageDescription(pkgname, fields="Version")
msg <- paste0("==========================================================================\n",
pkgname, " v", pkgVersion, " ",
"For help: https://github.com/DongqiangZeng0808/", "Blasso", "\n\n")
citation <- paste0(
" If you use ", pkgname, " in published research, please cite:\n",
" Macrophage correlates with immunophenotype and predicts anti-PD-L1\n",
" response of urothelial cancer. Theranostics 2020; 10(15):7002-7014.\n",
"==========================================================================")
packageStartupMessage(paste0(msg, citation))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.