get.arg: Argument getter

Description Usage Arguments Value Author(s) Examples

View source: R/metaseqr.util.R

Description

Get argument(s) from a list of arguments, e.g. normalization arguments.

Usage

1
    get.arg(arg.list, arg.name)

Arguments

arg.list

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

arg.name

the argument name inside the argument list to fetch its value.

Value

The argument sub-list.

Author(s)

Panagiotis Moulos

Examples

1
2
norm.list <- get.defaults("normalization","egder")
a <- get.arg(norm.list,c("main.method","logratioTrim"))

metaseqR documentation built on Nov. 8, 2020, 5:57 p.m.