Skip to content

Commit

Permalink
Close #229
Browse files Browse the repository at this point in the history
  • Loading branch information
ShixiangWang committed Nov 17, 2021
1 parent 6256500 commit 39ad478
Show file tree
Hide file tree
Showing 25 changed files with 65 additions and 45 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ VignetteBuilder:
Encoding: UTF-8
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.1.1.9001
RoxygenNote: 7.1.2
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ importFrom(psych,corr.test)
importFrom(shiny,shinyAppFile)
importFrom(stats,complete.cases)
importFrom(stats,median)
importFrom(stats,na.omit)
importFrom(stats,prcomp)
importFrom(stats,predict)
importFrom(stats,quantile)
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# UCSCXenaShiny 1.1.2

- Fixed value query for gene signature with `purrr` lambda function.
- Updated dataset doc.
- Uploaded zenodo link.
- Uploaded this tool to conda forge, the user can install it from conda now.
Expand Down
3 changes: 1 addition & 2 deletions R/query_value.R
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,9 @@ query_pancan_value <- function(molecule,
message("IDs include ", paste(ids, collapse = ", "))
tryCatch(
{
values <- lapply(ids, function(x) {
values <- purrr::map(ids, function(x) {
query_value(x, data_type, database, ...)
})
#values <- purrr::map(ids, ~ query_value(., data_type, database, ...))
unit <- if (is.list(values[[1]]) && length(values[[1]]) > 1) values[[1]][[2]] else NULL
if (is.null(unit)) {
df <- as.data.frame(values %>% purrr::set_names(ids))
Expand Down
2 changes: 1 addition & 1 deletion R/xenashiny.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
#' @import ggplot2
#' @importFrom psych corr.test
#' @importFrom utils download.file head install.packages tail
#' @importFrom stats prcomp predict quantile
#' @importFrom stats prcomp predict quantile na.omit
NULL
6 changes: 3 additions & 3 deletions docs/articles/api.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions docs/articles/api_files/header-attrs-2.11/header-attrs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Pandoc 2.9 adds attributes on both header and div. We remove the former (to
// be compatible with the behavior of Pandoc < 2.8).
document.addEventListener('DOMContentLoaded', function(e) {
var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
var i, h, a;
for (i = 0; i < hs.length; i++) {
h = hs[i];
if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
a = h.attributes;
while (a.length > 0) h.removeAttribute(a[0].name);
}
});
1 change: 1 addition & 0 deletions docs/news/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ pkgdown: 1.6.1
pkgdown_sha: ~
articles:
api: api.html
last_built: 2021-10-05T03:28Z
last_built: 2021-11-17T02:53Z

2 changes: 1 addition & 1 deletion docs/reference/analyze_gene_drug_response_diff.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions docs/reference/app_run.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ezcor.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ezcor_batch.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/reference/get_pancan_value.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/load_data.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/query_molecule_value.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/reference/tcga_surv_analysis.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/vis_gene_drug_response_diff.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions docs/reference/vis_identifier_grp_comparison.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 39ad478

Please sign in to comment.