knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
We will load clustermole along with dplyr to help with summarizing the data.
library(clustermole) library(dplyr)
You can use clustermole as a simple database and get a table of all cell type markers.
markers <- clustermole_markers(species = "hs") markers
Each row contains a gene and a cell type associated with it.
The gene
column is the gene symbol (human or mouse) and the celltype_full
column contains the detailed cell type string including the species and the original database.
Check the total number of the available cell types.
length(unique(markers$celltype_full))
Check the source databases and the number of cell types from each.
distinct(markers, celltype_full, db) |> count(db)
Check the number of cell types per species (not available for all cell types).
distinct(markers, celltype_full, species) |> count(species)
Check the number of available cell types per organ (not available for all cell types).
distinct(markers, celltype_full, organ) |> count(organ, sort = TRUE)
Check the package version since the database contents may change.
packageVersion("clustermole")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.