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

Description Usage Arguments Value Examples

Description

Get or update sample names in BarcodeObj object and BarcodeQcSet.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
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

1
2
3
4
data(bc_obj)

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

wenjie1991/CellBarocde documentation built on Dec. 23, 2021, 5:11 p.m.