bc_names: Access & update sample names in BarcodeObj & and BarcodeQcSet

bc_namesR Documentation

Access & update sample names in BarcodeObj & and BarcodeQcSet

Description

Get or update sample names in BarcodeObj object and BarcodeQcSet.

Usage

bc_names(x)

bc_names(x) <- value

## S4 method for signature 'BarcodeObj'
bc_names(x)

## S4 replacement method for signature 'BarcodeObj,character'
bc_names(x) <- value

## S4 method for signature 'BarcodeQcSet'
bc_names(x)

## S4 replacement method for signature 'BarcodeQcSet,ANY'
bc_names(x) <- value

Arguments

x

A BarcodeObj object or a BarcodeQcSet object.

value

A character vector setting the new sample names, with the length of the samples number in BarcodeObj or BarcodeQcSet object.

Value

A character vector

Examples

data(bc_obj)

bc_names(bc_obj)
bc_names(bc_obj) <- c("new1", "new2")

wenjie1991/CellBarcode documentation built on Aug. 10, 2024, 11:02 a.m.