This function is a wrapper for the multiple function calls necessary to perform enrichment analysis on a given miRNA list using miEAA. See Details section for more information.
Usage
rba_mieaa_enrich(
test_set,
mirna_type,
test_type,
species,
categories = NULL,
p_adj_method = "fdr",
independent_p_adj = TRUE,
sig_level = 0.05,
min_hits = 2,
ref_set = NULL,
sort_by = "p_adjusted",
sort_asc = TRUE,
poll_interval = 5,
poll_timeout = 300,
...
)Arguments
- test_set
Character vector: Mature or precursor miRBase miRNA identifiers. Note that
Only miRBase v22 identifiers are accepted. You can use
rba_mieaa_convert_versionto convert older identifiers to miRBase v22.The list must contain either mature or precursor miRNA identifiers, not a mixture of both.
- mirna_type
Character: Type of the supplied miRNA identifiers; either "mature" or "precursor".
- test_type
Character: Analysis to perform; either "ORA" for over-representation analysis or "GSEA" for miRNA gene set enrichment analysis. For GSEA, the input list must already be ranked by an appropriate criterion.
- species
Character or Numeric: Scientific name, abbreviation, or NCBI taxon ID of one of the following species:
"Homo sapiens", "hsa" or 9606
"Mus musculus", "mmu" or 10090
"Rattus norvegicus", "rno" or 10116
"Arabidopsis thaliana", "ath" or 3702
"Bos taurus", "bta" or 9913
"Caenorhabditis elegans", "cel" or 6239
"Drosophila melanogaster", "dme" or 7227
"Danio rerio", "dre" or 7955
"Gallus gallus", "gga" or 9031
"Sus scrofa", "ssc" or 9823
- categories
Character vector: (default =
NULL) One or more category identifiers to use for miRNA set enrichment analysis. Note thatAvailable categories vary with the selected species and whether the supplied miRNAs are mature or precursor. Use
rba_mieaa_catsto retrieve a list of available category identifiers for a given species and miRNA type.If
NULL, the analysis is performed using all available categories.
- p_adj_method
Character: (default =
"fdr") P-value adjustment method to use. One of: "none", "fdr", "bonferroni", "BY", "hochberg", "holm", or "hommel".- independent_p_adj
Logical: (default =
TRUE) The scope of p-value adjustment. IfTRUE, p-values are adjusted separately within each category. IfFALSE, p-values are adjusted collectively over all categories.- sig_level
Numeric: (default =
0.05) Significance threshold for adjusted p-values. Values equal to or greater than this threshold are omitted from the results. Must be greater than 0 and at most 1.- min_hits
Numeric: (default =
2) Minimum number of miRNAs from the test set that a subcategory must contain to be included in the results. Must be a positive integer.- ref_set
Character vector: (default =
NULL) Only applicable whentest_type = "ORA". Used as the reference (background or universe) set for p-value calculations.- sort_by
Character: (default =
"p_adjusted") Result column to sort by. One of: "category", "subcategory", "enrichment", "p_value", "p_adjusted", "q_value", or "observed".- sort_asc
Logical: (default =
TRUE) IfTRUE, sort the results in ascending order. IfFALSE, sort them in descending order.- poll_interval
Numeric: (default =
5) Number of seconds to wait between job-status requests; must be between 5 and 300 seconds.- poll_timeout
Numeric: (default =
300) Maximum number of seconds to wait for the enrichment analysis to finish. UseInfto wait without a time limit.- ...
rbioapi option(s). See
rba_options's arguments manual for more information on available options.
Details
This function will call other rba_mieaa_*** functions with the following order:
Call
rba_mieaa_enrich_submitto submit an enrichment analysis request to the miEAA server using the supplied miRNA list and other arguments.Once the job is successfully submitted, call
rba_mieaa_enrich_statusat the selected polling interval to check whether the server-side analysis has finished.Call
rba_mieaa_enrich_resultsto retrieve the results of your enrichment analysis.
See each function's manual for more details.
The save_file rbioapi option applies only to the final enrichment
results and not to the intermediate submission or status responses.
References
Ernesto Aparicio-Puerta, Pascal Hirsch, Georges P. Schmartz, Fabian Kern, Tobias Fehlmann, Andreas Keller, miEAA 2023: updates, new functional microRNA sets and improved enrichment visualizations, Nucleic Acids Research, Volume 51, Issue W1, 5 July 2023, Pages W319–W325, https://doi.org/10.1093/nar/gkad392
See also
Other "miEAA":
rba_mieaa_cats(),
rba_mieaa_convert_type(),
rba_mieaa_convert_version(),
rba_mieaa_enrich_results(),
rba_mieaa_enrich_status(),
rba_mieaa_enrich_submit()
Other "Enrichment/Over-representation":
rba_enrichr(),
rba_panther_enrich(),
rba_reactome_analysis(),
rba_string_enrichment(),
rba_string_enrichment_image()
Examples
if (FALSE) { # \dontrun{
rba_mieaa_enrich(test_set = c("hsa-miR-20b-5p", "hsa-miR-144-5p",
"hsa-miR-17-5p", "hsa-miR-20a-5p"),
mirna_type = "mature",
test_type = "ORA",
species = 9606,
categories = "miRPathDB_GO_Biological_process_mature")
} # }