cash-ContigCellDB-method: Access public members of ContigCellDB object.

Description Usage Arguments Value See Also Examples

Description

Modification to members will trigger various forms of equalization. See equalize_ccdb() for details.

Usage

1
2
3
4
5
## S4 method for signature 'ContigCellDB'
x$name

## S4 replacement method for signature 'ContigCellDB'
x$name <- value

Arguments

x

A ContigCellDB object

name

a slot of a ContigCellDB object (one of c('contig_tbl', 'cell_tbl', 'contig_pk', 'cell_pk', 'cluster_tbl', 'cluster_pk'))

value

The value assigned to a slot of ContigCellDB object

Value

Update or return a slot of ContigCellDB()

See Also

equalize_ccdb()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(ccdb_ex)
ccdb_ex$contig_tbl
ccdb_ex$cell_tbl
ccdb_ex$cluster_tbl
data(ccdb_ex)
ccdb_ex$contig_pk = c("sample","barcode","contig_id") # 'pop' is technically redundant with 'sample'
# Take a subset of ccdb_ex
ccdb_ex
ccdb_ex$contig_tbl = dplyr::filter(ccdb_ex$contig_tbl, pop == 'b6')
ccdb_ex

CellaRepertorium documentation built on Nov. 8, 2020, 7:48 p.m.