Description Usage Arguments Details Value
View source: R/validateInputs.R
Checks to ensure that the values for x
, design
, and contrast
are
appropriate for the GSEA methods
being used. If they are kosher, then
"normalized" versions of these objects are returned in an (aptly) named list,
otheerwise an error is thrown.
1 2 3 4 5 6 7 8 9 |
x |
The expression object to use |
design |
A design matrix, if the GSEA method(s) require it |
contrast |
A contrast vector (if the GSEA method(s) require it) |
require.x.rownames |
Leave this alone, should always be |
... |
other variables that called methods can check if they want |
A |
character vector of the GSEA methods that these inputs will be used for |
This function is strange in that we both want to verify the objects, and
return them in some canonical form, so it is normal for the caller to then
use the values for x
, design
, and contrast
that are returned from this
call, and not the original values for these objects themselves
I know that the validation/checking logic is a bit painful (and repetitive) here. I will (perhaps) clean that up some day.
A list with "normalized" versions of $x
, $design
, and $contrast
for downstream use.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.