Skip to content

Commit

Permalink
Vignette
Browse files Browse the repository at this point in the history
  • Loading branch information
linazhu3 committed Jun 13, 2018
1 parent fca89a2 commit a86e229
Show file tree
Hide file tree
Showing 7 changed files with 169 additions and 105 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: HTSanalyzeR2
Type: Package
Title: An R package for gene set enrichment and network analysis of various high-throughput data
Version: 0.99.12
Version: 0.99.13
Author: Lina ZHU <zhulina0609@gmail.com>, Feng GAO <gaofeng21cn@gmail.com>,
Xiupei MEI <meixiupei@gmail.com>, Xin Wang <xinwang2hms@gmail.com>
Maintainer: Lina ZHU <zhulina0609@gmail.com>
Expand Down
3 changes: 2 additions & 1 deletion R/gsca_enrichmap.R
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,8 @@ setMethod("viewEnrichMap", signature = "GSCA",
options$label = list(text = gsNameType)
options$colorScaler = "log10"
options$nPermutations = object@para$nPermutations
defaultOptions = list(title = title, legendTitle = "-Log10(Adjusted p-values)", type = stringr::str_replace(resultName, ".results", ""))
defaultOptions = list(title = title, legendTitle = "-Log10(Adjusted p-values)",
type = stringr::str_replace(resultName, ".results", ""))
graphOptions <- modifyList(defaultOptions, options)

forceGraph(em_nodes, em_links, nMappings, lMappings, graphOptions, seriesData = series)
Expand Down
18 changes: 1 addition & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ gsca2 <- analyze(gsca1,
para=list(pValueCutoff=0.05, pAdjustMethod="BH",
nPermutations=100, minGeneSetSize=180,
exponent=1),
doGSOA = TRUE)
doGSOA = FALSE)
## append gene sets terms
gsca3 <- appendGSTerms(gsca2,
Expand All @@ -136,19 +136,3 @@ report(gsca3)
## Getting help

Should you have any questions about this package, you can either email to the developers listed in the *DESCRIPTION* part of this package or create an issue in the [issue part](https://github.com/CityUHK-CompBio/HTSanalyzeR2/issues).
















3 changes: 2 additions & 1 deletion inst/templates/app.R
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ create_data_table <- function(gscaObj, analysis, genesets) {
res <- gscaObj@result[[analysis_to_show]][[genesets]]
res <- trim_result(res, digits = 3)

gseaDispValue <- ifelse(is.null(gscaObj@para$nPermutations), "0", format((1/gscaObj@para$nPermutations), scientific=TRUE, digits = 1))
gseaDispValue <- ifelse(is.null(gscaObj@para$nPermutations), "0",
paste("<", format((1/gscaObj@para$nPermutations), scientific=TRUE, digits = 1), sep = ""))
jsRenders <- list(GSEA = colValueRender(gseaDispValue), HyperGeo = colValueRender('<1e-06'))

columnDefs <- list(list(targets = which(colnames(res) == "HyperGeo.Adj.Pvalue") - 1, render = jsRenders[["HyperGeo"]]),
Expand Down
239 changes: 155 additions & 84 deletions vignettes/HTSanalyzeR2-vignette.Rmd

Large diffs are not rendered by default.

9 changes: 8 additions & 1 deletion vignettes/bibliography.bib
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,11 @@ @Article{Tzelepis2016
}



@Article{Sergushichev2016,
author={Alexey Sergushichev},
title={An algorithm for fast preranked gene set enrichment analysis using cumulative statistic calculation},
journal={bioRxiv},
year={2016},
url={http://biorxiv.org/content/early/2016/06/20/060012},
doi = "10.1101/060012"
}
Binary file modified vignettes/figures/enrichMap1.PNG
Loading
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 a86e229

Please sign in to comment.