Visualize spatial patterns of a single gene
Arguments
- expr
The normalized gene expression matrix
- clufitRes
The output from
ctsvg_fit(NULLby default, original gene expression matrix)- coord
The matrix of spatial locations
- sc
The named vector of cell cluster assignments
- gene
Which gene to plot
- cellclu
A character value indicating which cell cluster to plot (
NULLby default, all cells)- background
Whether to plot all cells (
FALSEby default)- ...
The parameters in the
geom_point(...)function