Skip to contents

GetTidySummary - tidy data summary for a single cell type

Usage

GetTidySummary(av.exprs.list, celltype.index, genes.use)

Arguments

av.exprs.list

- object returned by PseudobulkList (use average or first convert summed counts to cpm)

celltype.index

- index of celltype to ret results see names of PseudobulkList object

genes.use

- subet of genes to use

Value

a tidy dataframe

Examples

#' @examples
if (FALSE) {
gene_highlight =  c("IRF1","TNFRSF17","ABL1")
mono = GetTidyCohort(av.exprs.list = av, celltype.index = 7, genes.use = gene_highlight)
PlotGeneDistCohort(merged_av_data = mono,
                   save_name = "mono_highlight_512",
                   save_path = figpath,
                   title = paste0(names(av[7]), "genesub" ),
                   height = 3.8, width = 4.5,
                   nrow = 2)
 }