epiphy (version 0.5.0)

mapped_var: Existing variable mappings.

Description

Get or set existing variable mappings.

Usage

mapped_var(x)

mapped_var(x, keep = TRUE) <- value

Value

mapped_var returns the list of current mapped names of the object x.

Arguments

x

An intensity object.

keep

Logical. Do we keep any previous mapped variables that are not redifined in the mapping object?

value

A mapping object.

See Also

mapping

Examples

Run this code
my_data <- count(aphids)
my_data
mapped_var(my_data)
mapped_var(my_data) <- mapping(x = X, y = Y)
mapped_var(my_data)
mapped_var(my_data) <- mapping(x = x, r = r, keep = FALSE)
mapped_var(my_data)

Run the code above in your browser using DataLab