# Without copy numbers
genes <- countGenes(ExampleDb, gene = "v_call", groups = "sample_id", mode = "family")
genes <- countGenes(ExampleDb, gene = "v_call", groups = "sample_id", mode = "gene")
genes <- countGenes(ExampleDb, gene = "v_call", groups = "sample_id", mode = "allele")
# With copy numbers and multiple groups
genes <- countGenes(ExampleDb,
gene = "v_call", groups = c("sample_id", "c_call"),
copy = "duplicate_count", mode = "family"
)
# Count by clone
genes <- countGenes(ExampleDb,
gene = "v_call", groups = c("sample_id", "c_call"),
clone = "clone_id", mode = "family"
)
# Count absent genes
genes <- countGenes(ExampleDb,
gene = "v_call", groups = "sample_id",
mode = "allele", fill = TRUE
)
Run the code above in your browser using DataLab