c: Combine multiple pgParams objects into a vector

cR Documentation

Combine multiple pgParams objects into a vector

Description

Combine multiple pgParams objects into a vector

Usage

c(..., recursive = FALSE)

Arguments

...

pgParams objects to be concatenated.

recursive

logical. If recursive = TRUE, the function recursively descends through lists (and pairlists) combining all their elements into a vector.

Value

NULL or an expression or a vector of an appropriate mode. (With no arguments the value is NULL.)

Examples

## Define parameters
p1 <- pgParams(chrom = "chr1", assembly = "hg19")

## Define another set of parameters
p2 <- pgParams(fontsize = 10, assembly = "hg19")

## Combine parameters into one `pgParams` object
pTotal <- c(p1, p2)

PhanstielLab/plotgardener documentation built on July 1, 2024, 7:06 p.m.