Titre
plot_piechart_subpopulation.Rd
Description
Usage
plot_piechart_subpopulation(
sobj,
reduction = "umap",
big_group_column,
big_group_of_interest,
big_group_color = aquarius::gg_color_hue(length(big_group_of_interest)),
small_group_column = "seurat_clusters",
small_group_color =
aquarius::gg_color_hue(length(unique(sobj@meta.data[[small_group_column]]))),
composition_column = "orig.ident",
composition_color =
aquarius::gg_color_hue(length(unique(sobj@meta.data[[composition_column]]))),
bg_color = "gray92"
)
Arguments
- sobj
A Seurat object (no default)
- reduction
CHARACTER : name of a reduction present in the Seurat object (default to 'umap')
- big_group_column
CHARACTER : a column in
sobj@meta.data
corresponding to the big group, for instance a cell type annotation (no default)- big_group_of_interest
CHARACTER : the value, within the big_group_column, to focus on (no default)
- big_group_color
CHARACTER : color associated with big_group_of_interest, can be a named vector (default to the default ggplot2 palette)
- small_group_column
CHARACTER : a column in
sobj@meta.data
corresponding to the small group, for instance a clustering (default to "seurat_clusters")- small_group_color
CHARACTER : color associated with small_group_column, can be a named vector (default to the default ggplot2 palette)
- composition_column
CHARACTER : a column in
sobj@meta.data
corresponding to the composition to zoom in, within the piechart, for instance the sample of origin (default to "orig.ident")- composition_color
CHARACTER : color associated with composition_column, can be a named vector (default to the default ggplot2 palette)
- bg_color
CHARACTER : background colors (default to "gray92")