View source: R/expression_fit.R
create.pseudobulk | R Documentation |
Sum up the counts per cell type and individual for each gene and create a 3 dimensional matrix of genes x individuals x cell types
create.pseudobulk(expr.singlets, annotation, colName = "cell.type")
expr.singlets |
gene count matrix (already filtered for multiplets etc.) |
annotation |
Data frame with annotation of each cell to a cell type and donor, the data frame must be sorted in the same way as the expression matrix (required columns: individual) |
colName |
Column name of the cell type annotation in the annotation data frame |
3d matrix of genes x individuals x cell type
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.