ContigCellDB
tablesR/ContigCellDB-methods.R
mutate_cdb.Rd
Create new or update existing columns of ContigCellDB
tables
filter_cdb(ccdb, ..., tbl = "contig_tbl")
mutate_cdb(ccdb, ..., tbl = "contig_tbl")
name and value pair of column that will be updated
character.
One of contig_tbl
, cell_tbl
or cluster_tbl
, naming the table to be updated.
ContigCellDB object with updated table
filter_cdb
: Filter rows of a table in a ContigCellDB
object
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')