Description Usage Arguments Author(s) Examples
View source: R/metaseqr.argcheck.R
Checks if one or more given textual argument(s)
is/are member(s) of a list of correct arguments.
It's a more package-specific function similar to
match.arg
. Mostly for internal use.
1 2 | check.text.args(arg.name, arg.value, arg.list,
multiarg=FALSE)
|
arg.name |
the name of the argument that is checked (for display purposes). |
arg.value |
the value(s) of the argument to be checked. |
arg.list |
a vector of valid argument values
for |
multiarg |
a logical scalar indicating whether
|
Panagiotis Moulos
1 2 3 4 5 6 | # OK
check.text.args("count.type","gene",c("gene","exon"),
multiarg=FALSE)
## Error!
#check.text.args("statistics","ebseq",c("deseq","edger",
# "noiseq","bayseq","limma"), multiarg=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.