From 9aaecf6a8d9a24125f12201667f8e5cf4dfdd00c Mon Sep 17 00:00:00 2001 From: ShixiangWang Date: Mon, 6 Jun 2022 21:21:31 +0800 Subject: [PATCH] Fixed issue to set mislabelled color in pcawg pan-cancer analysis (close #247) --- CRAN-SUBMISSION | 6 +++--- NEWS.md | 1 + R/vis_pcawg_value.R | 4 +++- XenaShiny.Rproj | 1 - 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CRAN-SUBMISSION b/CRAN-SUBMISSION index 49de9a65..0054c917 100644 --- a/CRAN-SUBMISSION +++ b/CRAN-SUBMISSION @@ -1,3 +1,3 @@ -Version: 1.1.7 -Date: 2022-04-13 07:27:25 UTC -SHA: 5302482f1e4b780ae6311d9196e40ffe64380afe +Version: 1.1.8 +Date: 2022-06-06 13:21:21 UTC +SHA: a17b3f5db9bb3614324eddd5a9c3b67e7fab2eff diff --git a/NEWS.md b/NEWS.md index e079dcfa..13535b80 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,6 @@ # UCSCXenaShiny 1.1.8 +- Fixed issue to set mislabelled color in pcawg pan-cancer analysis (#247, Thanks to Tangjian Li). - Fixed issue in querying gene signature in general analysis page (#244). - Fixed issue "Radar plot “stemness” does not plot the “ACC” tumor type" (#242). diff --git a/R/vis_pcawg_value.R b/R/vis_pcawg_value.R index 0eb96fff..bd50799b 100644 --- a/R/vis_pcawg_value.R +++ b/R/vis_pcawg_value.R @@ -86,7 +86,9 @@ vis_pcawg_dist <- function(Gene = "TP53", dplyr::inner_join(pcawg_info, by = "icgc_specimen_id") # table(pcawg_info$dcc_specimen_type) - pcawg_data <- t2 %>% dplyr::select("tpm", "dcc_project_code", "type2", "icgc_specimen_id") + pcawg_data <- t2 %>% + dplyr::select("tpm", "dcc_project_code", "type2", "icgc_specimen_id") + pcawg_data$type2 <- factor(pcawg_data$type2, c("tumor", "normal")) if (Show.P.value == FALSE) { diff --git a/XenaShiny.Rproj b/XenaShiny.Rproj index 95c33c8f..77caee58 100644 --- a/XenaShiny.Rproj +++ b/XenaShiny.Rproj @@ -14,7 +14,6 @@ LaTeX: XeLaTeX BuildType: Package PackageUseDevtools: Yes -PackageCleanBeforeInstall: Yes PackageInstallArgs: --no-multiarch --with-keep.source PackageCheckArgs: --as-cran PackageRoxygenize: rd,collate,namespace