Skip to content

Commit

Permalink
add image files
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewelamb committed Feb 3, 2020
1 parent 8996762 commit 5416215
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
25 changes: 12 additions & 13 deletions R/pages/explorepage.R
@@ -1,6 +1,6 @@
analysis_module_dir <- "R/modules/ui/analysis_modules"
analysis_module_files <- list.files(analysis_module_dir, full.names = T)
for(item in analysis_module_files){
for (item in analysis_module_files) {
source(item, local = T)
}

Expand Down Expand Up @@ -86,31 +86,31 @@ explorepage <- shinydashboard::dashboardPage(
width = 3,
color = "black",
fill = FALSE,
icon = icon("search")
icon = shiny::icon("search")
),
shinydashboard::infoBox(
"Classes of Readouts:",
12,
width = 3,
color = "black",
fill = FALSE,
icon = icon("filter")
icon = shiny::icon("filter")
),
shinydashboard::infoBox(
"TCGA Cancers:",
33,
width = 3,
color = "black",
fill = FALSE,
icon = icon("flask")
icon = shiny::icon("flask")
),
shinydashboard::infoBox(
"TCGA Samples:",
"11,080",
width = 3,
color = "black",
fill = FALSE,
icon = icon("users")
icon = shiny::icon("users")
)
)
),
Expand All @@ -130,15 +130,15 @@ explorepage <- shinydashboard::dashboardPage(
width = 6,
linkId = "link_to_cohort_selection",
title = "Cohort Selection",
imgSrc = "images/groupsoverview.png",
imgSrc = "images/cohort_selection.png",
boxText = "Use this module to create a cohort of interest.",
linkText = "Open Module"
),
.GlobalEnv$imgLinkBox(
width = 6,
linkId = "link_to_tumor_microenvironment",
title = "Tumor Microenvironment",
imgSrc = "images/cellcontent.png",
imgSrc = "images/tumor_microenvironment.png",
boxText = "Explore the immune cell proportions in your sample groups.",
linkText = "Open Module"
)
Expand All @@ -148,19 +148,18 @@ explorepage <- shinydashboard::dashboardPage(
width = 6,
title = "Immune Feature Trends",
linkId = "link_to_immune_features",
imgSrc = "images/immunefeatures.png",
imgSrc = "images/immune_features.png",
boxText = "This module allows you to see how immune readouts vary across your groups, and how they relate to one another.",
linkText = "Open Module"
),
.GlobalEnv$imgLinkBox(
width = 6,
linkId = "link_to_clinical_outcomes",
title = "Clinical Outcomes",
imgSrc = "images/survival.png",
imgSrc = "images/clinical_outcomes.png",
boxText = "Plot survival curves based on immune characteristics and identify variables associated with outcome.",
linkText = "Open Module"
)

),
shiny::fluidRow(
.GlobalEnv$imgLinkBox(
Expand All @@ -175,7 +174,7 @@ explorepage <- shinydashboard::dashboardPage(
width = 6,
title = "TIL Maps",
linkId = "link_to_til_maps",
imgSrc = "images/TILmap.png",
imgSrc = "images/til_maps.png",
boxText = "Explore the characteristics of maps of tumor infiltrating lymphocytes obtained from analysis of H&E images.",
linkText = "Open Module"
)
Expand All @@ -185,15 +184,15 @@ explorepage <- shinydashboard::dashboardPage(
width = 6,
title = "Driver Associations",
linkId = "link_to_driver_associations",
imgSrc = "images/drivers.png",
imgSrc = "images/driver_associations.png",
boxText = "Explore Associations of Microenvironment with Driver Mutations.",
linkText = "Open Module"
),
.GlobalEnv$imgLinkBox(
width = 6,
title = "IO Targets",
linkId = "link_to_io_targets",
imgSrc = "images/iotargets.png",
imgSrc = "images/io_targets.png",
boxText = "Explore the expression of genes that code for immuno-oncological (IO) targets .",
linkText = "Open Module"
)
Expand Down
1 change: 1 addition & 0 deletions global.R
@@ -1,6 +1,7 @@
library(magrittr)

source("R/functions/connect_to_db.R")
DB_NAME <- "iatlas_dev"
pool <- connect_to_db()
rm(connect_to_db)

Expand Down
Binary file added www/images/clinical_outcomes.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/images/cohort_selection.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/images/driver_associations.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/images/immune_features.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/images/immunomodulators.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/images/io_targets.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/images/til_maps.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/images/tumor_microenvironment.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5416215

Please sign in to comment.