Description Usage Arguments Value Examples
View source: R/perform_analysis.R
This function wraps all steps required to perform
an Analysis using the Reactome Analysis Service. It submits
the passed ReactomeAnalysisRequest
object to the
Reactome Analysis Service API, checks the submitted analysis'
status and returns the result once the analysis is complete.
1 2 3 4 5 6 | perform_reactome_analysis(
request,
verbose = TRUE,
compress = TRUE,
reactome_url = NULL
)
|
request |
|
verbose |
logical. If |
compress |
logical. If |
reactome_url |
URL of the Reactome API Server. Overwrites the URL set in the 'reactome_gsa.url' option. Specific ports can be set using the standard URL specification (for example http://your.service:1234) |
The analysis' result
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # create a request using Camera as an analysis
library(ReactomeGSA.data)
data(griss_melanoma_proteomics)
my_request <- ReactomeAnalysisRequest(method = "Camera")
# set maximum missing values to 0.5 and do not create any reactome visualizations
my_request <- set_parameters(request = my_request,
max_missing_values = 0.5,
create_reactome_visualization = FALSE)
# add the dataset
my_request <- add_dataset(request = my_request,
expression_values = griss_melanoma_proteomics,
name = "Proteomics",
type = "proteomics_int",
comparison_factor = "condition",
comparison_group_1 = "MOCK",
comparison_group_2 = "MCM",
additional_factors = c("cell.type", "patient.id"))
# perform the analysis
my_result <- perform_reactome_analysis(request = my_request, verbose = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.