app.R— Shiny app (light/academic theme, full featured)data.csv— Processed data from Alexandre's unified table (4,796 rows)
install.packages(c("shiny", "DT", "dplyr", "readr", "stringr", "bslib"))
install.packages("rsconnect")library(rsconnect)
# Get your token from: https://www.shinyapps.io/admin/#/tokens
rsconnect::setAccountInfo(
name = "YOUR_SHINYAPPS_USERNAME",
token = "YOUR_TOKEN",
secret = "YOUR_SECRET"
)rsconnect::deployApp(
appDir = "/path/to/shiny_app/", # folder containing app.R and data.csv
appName = "AD-xQTL-Explorer",
account = "YOUR_SHINYAPPS_USERNAME"
)Your app will be live at:
https://YOUR_USERNAME.shinyapps.io/AD-xQTL-Explorer/
- 5 apps
- 25 active hours/month (resets monthly)
- Fine for consortium sharing — upgrade to Starter ($9/mo) for unlimited hours
shiny::runApp("/path/to/shiny_app/")Use AD_xQTL_academic.html instead of the Shiny app:
- Rename to
index.html - Push to your
jaempawi/xqtl-paperrepo root (or adocs/folder) - Go to Settings → Pages → Source: main branch →
/(or/docs) - Live at:
https://jaempawi.github.io/xqtl-paper/
No server, no cost, no expiry. Best for a permanent consortium URL.
When you get the full .gz flatten file and rerun your notebook:
- Re-extract
data.csvusing the same Python script - For Shiny: re-deploy with
rsconnect::deployApp() - For HTML: re-run the injection script and push the new
index.html