Description Usage Arguments Value Functions Examples
View source: R/pairing-methods.R
Rank contigs, per cell, by experiment-wide prevalence of cluster_pk
, which is added as the prevalence
field
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | rank_prevalence_ccdb(
ccdb,
contig_filter_args = TRUE,
tie_break_keys = c("umis", "reads")
)
rank_chain_ccdb(
ccdb,
contig_filter_args = TRUE,
tie_break_keys = c("umis", "reads"),
chain_key = "chain",
contig_fields = tie_break_keys,
chain_levels = c("IGL", "IGK", "TRA", "TRB", "IGH")
)
|
ccdb |
|
contig_filter_args |
an expression passed to |
tie_break_keys |
(optional) |
chain_key |
|
contig_fields |
Optional fields from |
chain_levels |
an optional |
ContigCellDB
with modified contig_tbl
rank_chain_ccdb
: return a canonical contig by chain type, with TRB/IGH returned first. By default, ties are broken by umis and reads.
1 2 3 4 5 6 | data(ccdb_ex)
ccdb_ex = cluster_germline(ccdb_ex)
rank_prev = rank_prevalence_ccdb(ccdb_ex)
rank_prev$contig_tbl
rank_chain = rank_chain_ccdb(ccdb_ex)
rank_chain$contig_tbl
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.