internal helper to plot contour biMAP
contour_plot.Rd
internal helper to plot contour biMAP
Usage
contour_plot(
umap_cells,
umap_genes,
color_by,
color_genes,
colors,
interact_genes,
gene_size,
gene_alpha,
contour_n
)
Arguments
- umap_cells
biMAP coordinates data.frame subsetted to cells.
- umap_genes
biMAP coordinates data.frame subsetted to genes.
- color_by
Either "type" or "cluster". "type" colors by the type (cell or gene) while "cluster" colors by the assigned cluster. If meta_df is provided a column from the data.frame can be specified.
- color_genes
logical. If TRUE colors genes by color_by.
- colors
Vector of hexadecimal color codes of the same length as the categories defined by color_by or longer. If NULL ignored.
- interact_genes
character string with text and labels for genes in interactive plots.
- gene_size
integer. Size of the genes in the plot.
- gene_alpha
numeric. Alpha value of genes (between 0 and 1).
- contour_n
integer. Number of contour lines to plot.