R/annotate_clonotype_count.R
annotate_clonotype_count.RdAnnotate number of occurrences of a given clonotype in a sample
annotate_clonotype_count(sce, clonotype_name = "clonotype", group_by = c())
| sce | SingleCellExperiment object |
|---|---|
| clonotype_name | name of column in colData containing clonotype - can be generated using `assign_clonotypes`. |
| group_by | columns to group repertoires by - only counts clonotypes within groups |
SingleCellExperiment object with added columns to colData including "clonotype", "clonotype_count", and "clonotype_count_2:10"
NULL#> NULL