Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Cibersort & mcpcounter" #19

Merged
merged 1 commit into from
Jan 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ Imports:
readr,
shinycssloaders,
wrapr,
forcats,
ggridges
forcats
RoxygenNote: 7.0.2
Suggests:
testthat (>= 2.1.0),
Expand Down
2 changes: 0 additions & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ export(mod_explore_page_server)
export(mod_explore_page_ui)
export(mod_gene_variant_server)
export(mod_gene_variant_ui)
export(mod_immune_signatures_server)
export(mod_immune_signatures_ui)
export(mod_latent_variables_server)
export(mod_latent_variables_ui)
export(mod_resources_page_server)
Expand Down
10 changes: 4 additions & 6 deletions R/mod_explore_page.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ mod_explore_page_ui <- function(id){
tagList(
dashboardPage(
dashboardHeader(disable = T),
dashboardSidebar(sidebarMenu(
dashboardSidebar(
id = "explorertabs",
menuItem("Explore Home",
tabName = "dashboard",
Expand All @@ -27,7 +27,7 @@ mod_explore_page_ui <- function(id){
menuItem("Analysis Modules",
icon = icon("chart-area"), startExpanded = TRUE,
menuSubItem(
"Immune Cell Deconvolution",
"Immune Infiltration",
tabName = "immune_infiltration",
icon = icon("cog")
),
Expand All @@ -39,16 +39,15 @@ mod_explore_page_ui <- function(id){
menuSubItem(
"Latent Variables",
tabName = "latent_variables",
icon = icon("cog"))))),
icon = icon("cog")))),
dashboardBody(
tagList(
tabItems(
tabItem(
tabName = "dashboard"
),
tabItem(
tabName = 'immune_infiltration',
mod_immune_signatures_ui(ns("immune_signatures_ui_1"))
tabName = 'immune_infiltration'
),
tabItem(
tabName = "gene_var",
Expand All @@ -75,7 +74,6 @@ mod_explore_page_server <- function(input, output, session, specimens){

callModule(mod_gene_variant_server, "gene_variant_ui", specimens)
callModule(mod_latent_variables_server, "latent_variables_ui_1", specimens)
callModule(mod_immune_signatures_server, "immune_signatures_ui_1", specimens)
}

## To be copied in the UI
Expand Down
93 changes: 0 additions & 93 deletions R/mod_immune_signatures.R

This file was deleted.

2 changes: 0 additions & 2 deletions R/mod_latent_variables.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ mod_latent_variables_server <- function(input, output, session, specimens){
dplyr::summarize(sdev = sd(value)) %>%
dplyr::top_n(10, sdev)

validate(need(nrow(foo)>0, "No latent variable data found. Please modify your cohort."))

foo2 <- dplyr::filter(kairos::latent_var,
latent_var %in% foo$latent_var) %>%
dplyr::mutate(latent_var = stringr::str_trunc(latent_var, 15)) %>%
Expand Down
9 changes: 0 additions & 9 deletions data-raw/immune_predictions.R

This file was deleted.

Binary file removed data/immune_predictions.rda
Binary file not shown.
24 changes: 0 additions & 24 deletions man/mod_immune_signatures.Rd

This file was deleted.