ccdb_join: Join dataframe or SingleCellExperiment object with...

Description Usage Arguments Value Examples

View source: R/ccdb_join.R

Description

Join dataframe or SingleCellExperiment object with ContigCellDB object

Usage

1
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

1
2
3
4
5
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)

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