mutate_cdb: Create new or update existing columns of 'ContigCellDB'...

Description Usage Arguments Value Functions See Also Examples

View source: R/ContigCellDB-methods.R

Description

Create new or update existing columns of ContigCellDB tables

Usage

1
2
3
filter_cdb(ccdb, ..., tbl = "contig_tbl")

mutate_cdb(ccdb, ..., tbl = "contig_tbl")

Arguments

ccdb

ContigCellDB()

...

name and value pair of column that will be updated

tbl

character. One of contig_tbl, cell_tbl or cluster_tbl, naming the table to be updated.

Value

ContigCellDB object with updated table

Functions

See Also

dplyr::mutate()

dplyr::filter()

Examples

1
2
3
4
5
6
7
data(ccdb_ex)
subset_contig = filter_cdb(ccdb_ex,full_length, productive == 'True',
high_confidence, chain != 'Multi', nchar(cdr3) > 5)
subset_cell = filter_cdb(ccdb_ex, sample == 4, tbl = 'cell_tbl')
data(ccdb_ex)
new_contig = mutate_cdb(ccdb_ex, new_col = 1)
new_cell = mutate_cdb(ccdb_ex, new_col = 1, tbl = 'contig_tbl')

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