set.arg: Argument setter

Description Usage Arguments Value Author(s) Examples

Description

Set argument(s) to a list of arguments, e.g. normalization arguments.

Usage

1
    set.arg(arg.list, arg.name, arg.value = NULL)

Arguments

arg.list

the initial list of a method's (e.g. normalization) arguments. Can be created with the get.defaults function.

arg.name

a named list with names the new arguments to be set, and mebers the values to be set or a vector of argument names. In this case, arg.value must be supplied.

arg.value

when arg.name is a vector of argument names, the values corresponding to these arguments.

Value

the arg.list with the changed arg.value for arg.name.

Author(s)

Panagiotis Moulos

Examples

1
2
norm.list <- get.defaults("normalization","egder")
set.arg(norm.list,list(main.method="glm",logratioTrim=0.4))

pmoulos/metaseqR-local documentation built on May 9, 2019, 1:13 a.m.