View source: R/methodsEmapInternal.R
validateCreateEnrichMapMultiArguments | R Documentation |
Validate the arguments passed to createEnrichMapMultiBasic()
function.
First, the object containing the enrichment results must correspond to a
object created by gprofiler2
software. Second, the selected
source must at least have one enriched term in the results. Then, if the
source is 'TERM_ID', the listed terms must be present in the enrichment
results.
validateCreateEnrichMapMultiArguments(
gostObjectList,
queryList,
source,
termIDs,
removeRoot,
showCategory,
groupCategory,
categoryLabel,
categoryNode,
line
)
gostObjectList |
a |
queryList |
a |
source |
a |
termIDs |
a |
removeRoot |
a |
showCategory |
a positive |
groupCategory |
a |
categoryLabel |
a positive |
categoryNode |
a positive |
line |
a non-negative |
TRUE
when all arguments are valid
Astrid DeschĂȘnes
## Load the result of an enrichment analysis done with gprofiler2
data(parentalNapaVsDMSOEnrichment)
data(rosaNapaVsDMSOEnrichment)
## Check that all arguments are valid
enrichViewNet:::validateCreateEnrichMapMultiArguments(
gostObjectList=list(parentalNapaVsDMSOEnrichment,
rosaNapaVsDMSOEnrichment),
queryList=list("parental_napa_vs_DMSO", "rosa_napa_vs_DMSO"),
source="GO:BP", termIDs=NULL, removeRoot=FALSE,
showCategory=20, groupCategory=FALSE,
categoryLabel=1.1, categoryNode=1, line=1.2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.