add_sources | R Documentation |
User selects a tissue source for each contrast and indicates any sources that should be paired. This step is required if you would like to perform source-specific effect-size/pathway meta-analyses.
add_sources(diff_exprs, data_dir = getwd(), postfix = NULL)
diff_exprs |
Previous result of |
data_dir |
String specifying directory of GSE folders. |
postfix |
Optional string to append to saved results. Useful if need to run multiple meta-analyses on the same series but with different contrasts. |
The Sources tab is used to add a source for each contrast. To do so: click the relevant contrast rows, search for a source in the Sample source dropdown box, and then click the Add button.
The Pairs tab is used to indicate sources that should be paired (treated as the same source for subsequent effect-size and pathway meta-analyses). To do so: select at least two sources from the Paired sources dropdown box, and then click the Add button.
For each GSE, analysis results with added sources/pairs are saved in the corresponding GSE
folder (in data_dir
) that was created by get_raw
.
Same as diff_expr
with added slots for each GSE in diff_exprs
:
sources |
Named vector specifying selected sample source for each contrast. Vector names identify the contrast. |
pairs |
List of character vectors indicating tissue sources that should be treated as the same source for subsequent effect-size and pathway meta-analyses. |
library(lydata)
# load result of previous call to diff_expr:
data_dir <- system.file("extdata", package = "lydata")
gse_names <- c("GSE9601", "GSE34817")
anals <- load_diff(gse_names, data_dir)
# run shiny GUI to add tissue sources
# anals <- add_sources(anals, data_dir)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.