View source: R/shiny_HPAStainR.R
shiny_HPAStainR | R Documentation |
Runs HPAStainR as a the shiny app found at https://32tim32.shinyapps.io/HPAStainR/
shiny_HPAStainR(hpa_dat, cancer_dat, cell_type_data = NULL)
hpa_dat |
A required dataframe that has the normal tissue dataframe (see HPA_data_downloader). |
cancer_dat |
A required dataframe that has the cancer tissue dataframe (see HPA_data_downloader). |
cell_type_data |
An optional dataframe that comes out of the hpa_summary_maker function, only needed if you want the second tab of HPAStainR, which shows the ratio of tested proteins to stained proteins, to be functional. |
A locally ran shiny app
## Load in data from downloader HPA_data <- HPA_data_downloader(save_file = FALSE) ## Generate the summarized HPA file hpa_summary <- HPA_summary_maker(HPA_data$hpa_dat) ## Run with summary, commented out so example doesn't run indefinitely ## shiny_HPAStainR(HPA_data$hpa_dat, HPA_data$cancer_dat, hpa_summary)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.