View source: R/get_celltype_table.r
get_celltype_table | R Documentation |
get_celltype_table
Generates a table that can be used for
supplemenary tables of publications.
The table lists how many cells are associated with each cell type, the level
of annotation, and the dataset from which it was generated.
get_celltype_table(annot)
annot |
An annotation dataframe, which columns named 'level1class', 'level2class' and 'dataset_name' |
A dataframe with columns 'name', 'level', 'freq' and 'dataset_name'
# See PrepLDSC.Rmd for origin of merged_ALLCELLS$annot
cortex_mrna <- ewceData::cortex_mrna()
cortex_mrna$annot$dataset_name <- "cortex_mrna"
celltype_table <- EWCE::get_celltype_table(cortex_mrna$annot)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.