plot.states.radar: Show expression level of key genes

View source: R/main.R

plot.states.radarR Documentation

Show expression level of key genes

Description

Makes a radar plot of the expression level of a set of genes. It can be useful to compare the gene expression profile of different cell states in the reference atlas vs. a projected set.

Usage

plot.states.radar(ref)

Arguments

ref

Reference object

query

Query data, either as a Seurat object or as a list of Seurat objects

labels.col

The metadata field used to annotate the clusters

ref.assay

The assay to pull the reference expression data

query.assay

The assay to pull the query expression data

genes4radar

Which genes to use for plotting

meta4radar

Which metadata columns (numeric) to use for plotting. If not NULL, genes4radar are ignored

norm.factor

Normalization factor for rescaling expression or metadata values

min.cells

Only display cell states with a minimum number of cells

cols

Custom color palette for samples in radar plot

return

Return the combined plots instead of printing them to the default device (deprecated)

return.as.list

Return plots in a list, instead of combining them in a single plot

Value

Radar plot of gene expression of key genes by cell subtype

Examples

ref <- load.reference.map()
plot.states.radar(ref)

carmonalab/ProjecTILs documentation built on April 13, 2025, 10:04 p.m.