View source: R/expression_processing.R
get_muscat_exprs_avg | R Documentation |
get_muscat_exprs_avg
Calculate sample- and group-average of gene expression per cell type.
get_muscat_exprs_avg(sce, sample_id, celltype_id, group_id)
sce |
SingleCellExperiment object of the scRNAseq data of interest. |
sample_id |
Name of the meta data column that indicates from which sample/patient a cell comes from (in sce) |
celltype_id |
Name of the column in the meta data of sce that indicates the cell type of a cell. |
group_id |
Name of the meta data column that indicates from which group/condition a cell comes from (in sce) |
Data frame with average gene expression per sample and per group.
## Not run: library(dplyr) sample_id = "tumor" group_id = "pEMT" celltype_id = "celltype" muscat_exprs_avg = get_muscat_exprs_avg(sce = sce, sample_id = sample_id, celltype_id = celltype_id, group_id = group_id) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.