names-set-Andromeda-method: Set table names in an Andromeda object

names<-,Andromeda-methodR Documentation

Set table names in an Andromeda object

Description

names(andromedaObject) must be set to a character vector with length equal to the number of tables in the andromeda object (i.e. length(andromedaObject)). The user is responsible for setting valid table names (e.g. not using SQL keywords or numbers as names) This function treats Andromeda table names as case insensitive so if the only difference between the new names and old names is the case then the names will not be changed.

Usage

## S4 replacement method for signature 'Andromeda'
names(x) <- value

Arguments

x

An Andromeda object

value

A character vector with the same length as the number of tables in x

Examples

andr <- andromeda(cars = cars, iris = iris)
names(andr) <- c("CARS", "IRIS")
names(andr)
# [1] "CARS" "IRIS"
close(andr)


Andromeda documentation built on Sept. 12, 2024, 7:41 a.m.