shiny_HPAStainR: shiny_HPAStainR

Description Usage Arguments Value Examples

View source: R/shiny_HPAStainR.R

Description

Runs HPAStainR as a the shiny app found at https://32tim32.shinyapps.io/HPAStainR/

Usage

1
shiny_HPAStainR(hpa_dat, cancer_dat, cell_type_data = NULL)

Arguments

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.

Value

A locally ran shiny app

Examples

1
2
3
4
5
6
## 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)

HPAStainR documentation built on Feb. 11, 2021, 2:01 a.m.