六年前還在上海工作的時(shí)候,機(jī)緣巧合接觸了使用R語(yǔ)言的shiny體系搭建網(wǎng)頁(yè)工具的技術(shù),就一直身體力行的在我們生物信息學(xué)圈子里面推廣它。自己一個(gè)人能做的很有限,很慶幸這些年有各式各樣的小伙伴加入我們《生信技能樹(shù)》小圈子,一起建設(shè)shiny知識(shí)體系。最近有空,就安排實(shí)習(xí)生整理了一下各個(gè)公眾號(hào)關(guān)于R語(yǔ)言的shiny體系搭建網(wǎng)頁(yè)工具的教程,供大家系統(tǒng)性學(xué)習(xí)!
一、入門(mén)資源 ?? 二、進(jìn)階資源 ?? 三、UI模板 ?? 四、UI組件 ?? 五、部署經(jīng)驗(yàn) ?? 六、輔助工具 ?? 七、學(xué)無(wú)止境 ?? 八、行業(yè)案例 ??
一、入門(mén)資源 ??在造汽車(chē)之前,造輛自行車(chē)玩玩 有成就感的入門(mén),為接下來(lái)枯燥無(wú)味的進(jìn)階積累一點(diǎn)點(diǎn)動(dòng)力 快速上手 The written Shiny tutorial https://shiny./tutorial/#written-tutorials 理解原理 課件 https://github.com/rstudio-education/shiny.-tutorial 視頻 https://shiny./tutorial/#video-tutorials 臨摹案例 挑感興趣的或者與自己項(xiàng)目相關(guān)的細(xì)看,套用 https://shiny./gallery/
二、進(jìn)階資源 ??準(zhǔn)備開(kāi)始造汽車(chē)了 趁著入門(mén)剛做完有一種啥都能輕而易舉掌握的自信,乘勝追擊 Rstudio的shiny文檔 層次分明,步驟清晰 https://shiny./articles/ image-20210318172549965一本系統(tǒng)又基礎(chǔ)的書(shū) https:/// 有效的使用模塊化 https://rpodcast./rsconf-2019
golem框架(基于Shiny - Modularizing Shiny app code) https://github.com/ThinkR-open/golem 視頻講座 https:///post/episode-2-golem/
實(shí)踐教學(xué) https:///ultimate-guide-r-shiny-app-dashboards-2021 R Shiny {golem} – Development to Production – Overview | R-bloggers A Complete Dashboard Project in R Shiny App | by Lasha Gochiashvili | Towards Data Science
三、UI模板 ??一個(gè)合適項(xiàng)目的模板事半功倍 dashboard http://rstudio./shinydashboard/
復(fù)雜度低 歷史最久,應(yīng)用最廣 shinydashboardPlus https://github.com/RinteRface/shinydashboardPlus
復(fù)雜度低 bs4Dash https://github.com/RinteRface/bs4Dash/ 復(fù)雜度中等 支持Bootstrap 4 shinyMobile https://github.com/RinteRface/shinyMobile/
復(fù)雜度高 flexdashboard http://rmarkdown./flexdashboard
復(fù)雜度高 argonDash https://github.com/RinteRface/argonDash
復(fù)雜度中等 支持bootstrap4 shinymaterial https://github.com/ericrayanderson/shinymaterial
復(fù)雜度中等 基于谷歌框架 semantic.dashboard https://github.com/Appsilon/shiny.semantic
復(fù)雜度低 基于Fomantic UI dashboardthemes https://github.com/nik01010/dashboardthemes
復(fù)雜度低 增強(qiáng)dashboard的自定義
四、UI組件 ??shiny的配套設(shè)施 DT 一個(gè)表格 https://rstudio./DT/ 一個(gè)圖標(biāo) Icons | Font Awesome iconfont-阿里巴巴矢量圖標(biāo)庫(kù) 自動(dòng)化畫(huà)圖主題 Unified and Automatic Theming of ggplot2, lattice, and base R Graphics · thematic 交互式圖 Create Interactive Graphs with Echarts JavaScript Version 5 · echarts4r An R package for interactive visualisations · g2r UI界面輸入markdown文本 jienagu/noteMD: Print text from shiny ui (support markdown syntax) to pdf or word report 主題設(shè)置教程 Styling Shiny & R Markdown with bslib & thematic 不用dashboard的情況下設(shè)置shiny和Rmarkdown的主題 Custom Bootstrap Sass Themes for shiny and rmarkdown · bslib 用dashboard的情況下設(shè)置shiny的主題 Fresh themes · fresh 支持js shinyjs R package | by Dean Attali | Overview - JohnCoene/waiter: ??? Loading screens for Shiny
- Busy Indicator for Shiny Applications · shinybusy
- daattali/shinycssloaders: ? Add loading animations to a Shiny output while it's recalculating
- emitanaka/shinycustomloader: Add a custom loader for R shiny
五、部署經(jīng)驗(yàn) ??無(wú)論好壞,都要上線(xiàn) Shiny-server Download Shiny Server - RStudio Docker Deploy your RShiny App Locally with Docker An open-source solution to deploy enterprise-level R Shiny applications | by Mingchu Xu | Towards Data Science
六、輔助工具 ??展示反應(yīng)過(guò)程 Reactivity Visualizer for shiny · reactlog 展示使用記錄 dreamRs/shinylogs: Logs for Shiny apps Packrat: Reproducible package management for R Appsilon/shiny.i18n: Shiny applications internationalisation made easy 工欲善其事,必先利其器 anthonynorth/rscodeio: An RStudio theme inspired by Visual Studio Code.
七、學(xué)無(wú)止境 ??紙上得來(lái)終覺(jué)淺,絕知此事要躬行 一些文章和書(shū) 他們也許因?yàn)檐浖姹镜牡?,在操作環(huán)節(jié)有一點(diǎn)點(diǎn)過(guò)時(shí) 在亞馬遜服務(wù)器上部署 DS4B 202A-R: Expert Shiny Developer with AWS | Business Science 一個(gè)github上例舉各類(lèi)shiny資源的列表 grabear/awesome-rshiny: An awesome R-shiny list! nanxstats/awesome-shiny-extensions: ?? Awesome R packages that offer extended UI or server components for the R web framework Shiny 一個(gè)各種shiny開(kāi)發(fā)者視頻講座 Shiny Developer Series 一個(gè)shiny例子集合 dreamRs shiny gallery js在shiny中的運(yùn)用 JavaScript 4 Shiny - Field Notes 沒(méi)有shiny的shiny Shiny without Shiny: RTutor in RStudio’s new Visual Markdown Mode | R-bloggers 出色的UI設(shè)計(jì) Welcome | Outstanding User Interfaces with Shiny How to write a useful htmlwidgets in R: tips and walk-through a real example 什么是模塊化 A beginner's guide to Shiny modules | Emily Riederer
資源背后的機(jī)構(gòu)和開(kāi)發(fā)者,都可以看看,他們的網(wǎng)站,個(gè)人Twitter之類(lèi)的,尋寶哦。 八、行業(yè)案例 ??CIPR: a web-based R/shiny app and R package to annotate cell clusters in single cell RNA sequencing experiments - PubMed A biologist-friendly interactive visualization platform for analyzing and Exploring expression profile data generated by microarray, RNA-seq or mass spectrometry shinyapps.dreamrs.fr/esquisse/ timevis - An R package for creating timeline visualizations https://gallery./genome_browser/ jokergoo/InteractiveComplexHeatmap: Make Interactive Complex Heatmaps venyao/shinyCircos: an R/shiny application for creation of Circos plot interactively https://appforiarteam./noteMD_shiny_demo/ shinyGEO - a web-based application for analyzing gene expression omnibus datasets | shinyGEO 一個(gè)訪問(wèn)量高達(dá) 1300 萬(wàn)的 shiny 應(yīng)用的誕生故事
|