plot_circlize: Generate a circlize plot outside the tSNE/UMAP

View source: R/plot_circlize.R

plot_circlizeR Documentation

Generate a circlize plot outside the tSNE/UMAP

Description

This function generates a circlize plot outside the tSNE/UMAP

Usage

plot_circlize(
  data_plot,
  do.label = T,
  contour.levels = c(0.2, 0.3),
  pt.size = 0.5,
  kde2d.n = 1000,
  contour.nlevels = 100,
  bg.color = "#F9F2E4",
  col.use = NULL,
  label.cex = 0.5,
  repel = FALSE
)

Arguments

data_plot

Data frame prepared by the prepare_circlize_data function

do.label

Whether to label the clusters

contour.levels

Which contour line to be drawn on the plot. Value: 0-1

pt.size

Point size of the graph

kde2d.n

Number of grid points in each direction. A kde2d parameter

contour.nlevels

Total number of levels in contour

bg.color

Canvas background color

col.use

Colors used to label the cell type

label.cex

Label font size

repel

Whether or not to repel the cell type names on umap

Value

Return a circlize plot


HaojiaWu/plot1cell documentation built on Nov. 13, 2023, 9:20 a.m.