The goal of surTNBC is to do survival analysis from a deg database
You can install the released version of surTNBC from github or gitee with:
devtools::install_github("xiayh17/surTNBC")
devtools::install_git("https://gitee.com/xiayh17/surTNBC")
click to download iso_tpm.txt clinical.txt
create this directory below your working directory
inst/app/data/
save clinical.txt and portal-database-output.sqlite into it
library(DBI)
library(dplyr)
library(dbplyr)
iso_tpm2 <- data.table::fread("iso_tpm.txt")
iso_tpm2 <- iso_tpm2 %>% dplyr::rename(names = V1)
con <- DBI::dbConnect(RSQLite::SQLite(), "inst/app/data/portal-database-output.sqlite")
dplyr::copy_to(con, iso_tpm2, "iso_tpm2",
overwrite = TRUE,
temporary = FALSE,
indexes = list(
c("names")
)
)
# call dbDisconnect() when finished working with a connection
DBI::dbDisconnect(con)
surTNBC::run_app()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.