Skip to content

Commit

Permalink
🎉auto update by Gmeek action
Browse files Browse the repository at this point in the history
  • Loading branch information
ShixiangWang committed Feb 19, 2024
1 parent aabe835 commit c3110d9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 24 deletions.
22 changes: 10 additions & 12 deletions backup/网页路由和shiny.router使用方法.md
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,8 @@ rhino::pkg_install(c("shiny.router","shiny","UCSCXenaTools","shinyjs","data.tabl
### (3)填充内容

#### 从UCSCXena下载Lung Cancer (Raponi 2006)的phenotype数据集,处理后转换为RData文件,保存于app/logic/Lung Cancer.RData
![屏幕截图 2024-02-19 205523](https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/assets/136106051/3c8aa903-6b4a-4de3-b99b-056e70ef604a)

```
app/logic/aml
# 加载数据文件
Expand Down Expand Up @@ -794,6 +796,9 @@ server <- function(id) {
}
)}
```
![1 4](https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/assets/136106051/d7c1544f-7707-4017-bf43-61b06ac054d5)
![image](https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/assets/136106051/3ddf5772-c723-495f-aa79-65bf56cb0ae5)

#### 在该页面如何change_page都返回"cohort"


Expand Down Expand Up @@ -831,15 +836,8 @@ ui <- function(id) {
label = NULL,
choices = public_clinical$OS.time
),
actionButton(inputId = ns("caretdown7"), label = "Change query path"),
)
))
}
Expand Down Expand Up @@ -871,20 +869,20 @@ server <- function(id) {
print(age_1)
updateSelectInput(session, "analysis_type1", selected = age_1)
})
}
)}
```

https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/assets/136106051/4276e760-0896-4e6d-9a35-6159111faaa0




### (9)减少输出
#### 该情况下,处于home页面时也会执行该函数并输出
![image](https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/assets/136106051/9a2d2124-69f9-4b79-89dc-6a3cc321bdf4)

```
# app/view/cohort.R
Expand Down
17 changes: 5 additions & 12 deletions docs/post/wang-ye-lu-you-he-shiny.router-shi-yong-fang-fa.html
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ <h3>(2)安装并添加依赖项,同时更新dependencies.R文件</h3>
</code></pre>
<h3>(3)填充内容</h3>
<h4>从UCSCXena下载Lung Cancer (Raponi 2006)的phenotype数据集,处理后转换为RData文件,保存于app/logic/Lung Cancer.RData</h4>
<p><a target="_blank" rel="noopener noreferrer" href="https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/assets/136106051/3c8aa903-6b4a-4de3-b99b-056e70ef604a"><img src="https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/assets/136106051/3c8aa903-6b4a-4de3-b99b-056e70ef604a" alt="屏幕截图 2024-02-19 205523" style="max-width: 100%;"></a></p>
<pre class="notranslate"><code class="notranslate">app/logic/aml
# 加载数据文件

Expand Down Expand Up @@ -825,6 +826,8 @@ <h3>(7)读取并显示参数</h3>
}
)}
</code></pre>
<p><a target="_blank" rel="noopener noreferrer" href="https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/assets/136106051/d7c1544f-7707-4017-bf43-61b06ac054d5"><img src="https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/assets/136106051/d7c1544f-7707-4017-bf43-61b06ac054d5" alt="1 4" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer" href="https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/assets/136106051/3ddf5772-c723-495f-aa79-65bf56cb0ae5"><img src="https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/assets/136106051/3ddf5772-c723-495f-aa79-65bf56cb0ae5" alt="image" style="max-width: 100%;"></a></p>
<h4>在该页面如何change_page都返回"cohort"</h4>
<h3>(8)在url改变参数时改变selectinput</h3>
<pre class="notranslate"><code class="notranslate"># app/view/cohort.R
Expand Down Expand Up @@ -858,15 +861,8 @@ <h3>(8)在url改变参数时改变selectinput</h3>
label = NULL,
choices = public_clinical$OS.time
),

actionButton(inputId = ns("caretdown7"), label = "Change query path"),


)




))

}
Expand Down Expand Up @@ -898,17 +894,14 @@ <h3>(8)在url改变参数时改变selectinput</h3>
print(age_1)
updateSelectInput(session, "analysis_type1", selected = age_1)
})





}
)}

</code></pre>
<p><a href="https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/assets/136106051/4276e760-0896-4e6d-9a35-6159111faaa0">https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/assets/136106051/4276e760-0896-4e6d-9a35-6159111faaa0</a></p>
<h3>(9)减少输出</h3>
<h4>该情况下,处于home页面时也会执行该函数并输出</h4>
<p><a target="_blank" rel="noopener noreferrer" href="https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/assets/136106051/9a2d2124-69f9-4b79-89dc-6a3cc321bdf4"><img src="https://github.com/OncoHarmony-Network/OncoHarmony-Network.github.io/assets/136106051/9a2d2124-69f9-4b79-89dc-6a3cc321bdf4" alt="image" style="max-width: 100%;"></a></p>
<pre class="notranslate"><code class="notranslate"># app/view/cohort.R

observe({
Expand Down

0 comments on commit c3110d9

Please sign in to comment.