splitClonotypes | R Documentation |
Takes a matrix of cell-level clonotype counts and splits them into a list of group-specific counts (typically samples).
splitClonotypes(x, by, ...)
## S4 method for signature 'Matrix'
splitClonotypes(x, by)
## S4 method for signature 'matrix'
splitClonotypes(x, by)
## S4 method for signature 'SingleCellExperiment'
splitClonotypes(x, by, contigs = "contigs", clonoStats = "clonoStats")
## S4 method for signature 'clonoStats'
splitClonotypes(x, by)
x |
A |
by |
A character vector or factor by which to split the clonotype
counts. If |
... |
additional arguments. |
contigs |
character. If |
clonoStats |
character. If |
A list of Matrix
objects providing the cell-level clonotype
assignments for each unique value of by
(if by
denotes sample
labels, each matrix in the list will contain the cells from a single
sample).
example(addVDJtoSCE)
x <- clonoStats(contigs, assignment = TRUE)
splitClonotypes(x, by = sce$sample)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.