plot_UMAP: Plotting binary classification results on UMAP coordinates

plot_UMAPR Documentation

Plotting binary classification results on UMAP coordinates

Description

This function plots UMAP data coloured by binary classification results. Returns a graph.

Usage

plot_UMAP(
  umap.results = NULL,
  binary.results = NULL,
  column = "Cell.Type",
  title = "",
  facet = FALSE
)

Arguments

umap.results

(Required) UMAP object. Expects results from run_UMAP

binary.results

(Required) Results from binary classification in data frame format. Expects results from binary_class

column

Choose between plotting Cell.Type or Cell.Subtype (Default: Cell.Type) Cell.Subtype only availble for updated clustering results

title

Title of the plot (Default: NULL)

facet

Breaks plot into facets (Default: NULL)

Examples

plot_UMAP(umap.results, binary.results)
plot_UMAP(umap.results, updated.cluster.results, column = 'Cell.Subtype', facet = TRUE)

desmchoy/BinaryClust documentation built on Sept. 14, 2024, 12:03 a.m.