expnames: Sample names for an object

View source: R/methods_expnames.R

expnamesR Documentation

Sample names for an object

Description

Looks in the appropriate spot for sample names and returns or sets these.

Usage

expnames(x, simplify = TRUE)

expnames(x) <- value

Arguments

x

The object for which to retrieve sample names.

simplify

A logical of length 1: if the x argument is a list, should the sample names be returned as a flat character?

value

A non-NA character vector of appropriate length.

Value

A character or list with sample names

Examples

## Not run: 
expnames(discovery_object)
expnames(contacts_object)

## End(Not run)

robinweide/GENOVA documentation built on March 14, 2024, 11:16 p.m.