View source: R/methodsInternal.R
validateCreateNetworkArguments | R Documentation |
Validate the arguments passed to creatNetwork() 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.
validateCreateNetworkArguments(
gostObject,
source,
termIDs,
removeRoot,
query,
title,
collection,
fileName
)
gostObject |
a |
source |
a |
termIDs |
a |
removeRoot |
a |
query |
a |
title |
a |
collection |
a |
fileName |
a |
TRUE
when all arguments are valid
Astrid DeschĂȘnes
## Load the result of an enrichment analysis done with gprofiler2
data(demoGOST)
## Check that all arguments are valid
enrichViewNet:::validateCreateNetworkArguments(gostObject=demoGOST,
source="GO:BP", termIDs=NULL, removeRoot=FALSE, query=NULL,
title="Network graph Test",
collection="test collection", fileName="test.cx")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.