split_cdb {CellaRepertorium} | R Documentation |
ContigCellDB()
by named fieldsSplit into a list of ContigCellDB()
by named fields
split_cdb(ccdb, fields, tbl = "contig_tbl", drop = FALSE, equalize = TRUE)
ccdb |
|
fields |
|
tbl |
one of |
drop |
logical indicating if levels that do not occur should be dropped
(if |
equalize |
|
list of ContigCellDB
data(ccdb_ex) splat = split_cdb(ccdb_ex, 'chain', 'contig_tbl') stopifnot(all(splat$TRA$contig_tbl$chain == 'TRA')) stopifnot(all(splat$TRB$contig_tbl$chain == 'TRB'))