Skip to content

Instantly share code, notes, and snippets.

View stemangiola's full-sized avatar

Stefano Mangiola stemangiola

View GitHub Profile
@stemangiola
stemangiola / color_cell_types.R
Last active July 28, 2023 04:27
Color cell types
get_cell_type_color = function(cell_type_vector){
cell_type_vector |>
enframe(value = "harmonised_cell_type") |>
left_join(
tribble(
~harmonised_cell_type, ~palette,
git remote set-url origin git@github.com:USERNAME/REPOSITORY.git
# PREMISE
# these implementation of HPCL is highly experimental.
# Therefore the interface, function names, arguments names, types of input
# are subject to change and to be extended.
# At this stage, the input is a named list of Seurat objects.
# In another branch (soon to be integrated), we accept SCE, H5 SCE, and anndata
BiocManager::install("MangiolaLaboratory/HPCell@grammar-hpc", upgrade_dependencies=FALSE)
BiocManager::install("crew", upgrade_dependencies=FALSE)
BiocManager::install("crew.cluster", upgrade_dependencies=FALSE)