shiny_HPAStainR: shiny_HPAStainR

View source: R/shiny_HPAStainR.R

shiny_HPAStainRR Documentation

shiny_HPAStainR

Description

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

Usage

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

## 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)

tnieuwe/HPAStainR_package documentation built on July 31, 2022, 8:01 a.m.