ccdb_join {CellaRepertorium} | R Documentation

## Join dataframe or SingleCellExperiment object with ContigCellDB object

### Description

Join dataframe or SingleCellExperiment object with ContigCellDB object

### Usage

    ccdb_join(template, ccdb, join_fun = dplyr::left_join, by = ccdb$cell_pk)

### Arguments

`template` | data.frame or SingleCellExperiment object to be joined with ccdb.
`ccdb` | A ContigCellDB object.
`join_fun` | Function used for the join operation.
`by` | A character vector of variables to join by.

### Value

`ContigCellDB()`

### Examples

    data(ccdb_ex)
    to_join = dplyr::bind_rows(ccdb_ex$cell_tbl[1:10,],
    dplyr::tibble(barcode = c('extra1', 'extra2'), sample = LETTERS[1:2],
    pop = LETTERS[1:2]))
    ccdb_join(to_join, ccdb_ex)

[Package CellaRepertorium version 1.2.0 Index]