aggregate_by_cell_bin | R Documentation |
Aggregates a CDS based on an indicator column in the pData
table
aggregate_by_cell_bin(cds, group_col)
cds |
A CDS object to be aggregated |
group_col |
The name of the column in the |
This function takes an input CDS object and collapses cells based
on a column in the pData
table by summing the values within the
cell group.
A count cds aggregated by group_col
data("cicero_data")
#input_cds <- make_atac_cds(cicero_data, binarize = TRUE)
#pData(input_cds)$cell_subtype <- rep(1:10, times=20)
#binned_input_lin <-aggregate_by_cell_bin(input_cds, "cell_subtype")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.