$,ContigCellDB-method {CellaRepertorium} | R Documentation

## Access public members of ContigCellDB object.

### Description

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

### Usage

    ## 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

    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

[Package CellaRepertorium version 1.0.0 Index]