Description Usage Arguments Value Author(s) Examples
This function checks and validates the arguments
passed by the user to the normalization and
statistics algorithms supported by metaseqR. As
these are given into lists and passed to the
algorithms, the list members must be checked
for NULL
, valid names etc. This function
performs these checks and ignores any invalid
arguments.
1 2 | validate.alg.args(normalization, statistics,
norm.args, stat.args)
|
normalization |
a keyword determining the
normalization strategy to be performed by
metaseqR. See |
statistics |
the statistical tests to be
performed by metaseqR. See |
norm.args |
the user input list of
normalization arguments. See
|
stat.args |
the user input list of
statistical test arguments. See
|
A list with two members (norm.args
,
stat.args
) with valid arguments to
be used as user input for the algorithms
supported by metaseqR.
Panagiotis Moulos
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | normalization <- "edaseq"
statistics <- "edger"
norm.args <- get.defaults("normalization","edaseq")
stat.args <- get.defaults("statistics","deseq")
# Will return as is
val <- validate.alg.args(normalization,statistics,norm.args,stat.args)
val$norm.args
val$stat.args
# but...
stat.args <- c(stat.args,my.irrelevant.arg=999)
val <- validate.alg.args(normalization,statistics,norm.args,stat.args)
# irrelevant argument will be removed
val$norm.args
val$stat.args
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.