Learn R Programming

misha (version 4.2.9)

gtrack.array.set_colnames: Sets column names of array track

Description

Sets column names of array track.

Usage

gtrack.array.set_colnames(track = NULL, names = NULL)

Value

None.

Arguments

track

track name

names

vector of column names

Details

This sets the column names of an array track.

See Also

gtrack.array.get_colnames, gtrack.array.extract, gvtrack.array.slice, gtrack.info

Examples

Run this code
# \dontshow{
options(gmax.processes = 2)
# }

old.names <- gtrack.array.get_colnames("array_track")
new.names <- paste("modified", old.names, sep = "_")
gtrack.array.set_colnames("array_track", new.names)
gtrack.array.get_colnames("array_track")
gtrack.array.set_colnames("array_track", old.names)
gtrack.array.get_colnames("array_track")

Run the code above in your browser using DataLab