names_vec: Give a name to a vector

Description Usage Arguments Value

View source: R/utilities.R

Description

Given a numeric vector sets names

Usage

1
names_vec(x, pre)

Arguments

x

The numeric vector

pre

The prefix for the names of the vector

Value

the same vector with names names_vec(1:3, "GS_")


llrs/GSEAdv documentation built on May 29, 2019, 6 p.m.