colnames {gpuR}R Documentation

Row and Column Names

Description

Retrieve or set the row or column names of a gpuR matrix object

Usage

colnames(x, do.NULL, prefix)

## Default S3 method:
colnames(x, do.NULL = TRUE, prefix = "col")

## S3 method for class 'gpuMatrix'
colnames(x, ...)

## S4 replacement method for signature 'gpuMatrix'
colnames(x) <- value

## S3 method for class 'vclMatrix'
colnames(x, ...)

## S4 replacement method for signature 'vclMatrix'
colnames(x) <- value

Arguments

x

A gpuR matrix object

do.NULL

logical. If FALSE names are NULL, names are created. (not currently used)

prefix

for create names. (not currently used)

...

Additional arguments

value

A character vector to assign as row/column names

Value

A character vector of column names of the gpuMatrix object.


[Package gpuR version 2.0.6 Index]