Learn R Programming

eemR (version 1.0.1)

eem_names<-: Set the sample names of an eem or eemlist objects

Description

Set the sample names of an eem or eemlist objects

Usage

eem_names(x) <- value

Arguments

x

An object of class eem or eemlist.

value

A character vector with new sample names. Must be equal in length to the number of samples in the eem or eemlist.

Value

An eem or eemlist.

Examples

Run this code
# NOT RUN {
folder <- system.file("extdata/cary/scans_day_1", package = "eemR")
eems <- eem_read(folder, import_function = "cary")

eem_names(eems)
eem_names(eems) <- c("a", "b", "c", "d")
eem_names(eems)
# }

Run the code above in your browser using DataLab