plot_TSNE: Plotting binary classification results on t-SNE coordinates

plot_TSNER Documentation

Plotting binary classification results on t-SNE coordinates

Description

This function plots t-SNE data coloured by binary classification results. Returns a graph.

Usage

plot_TSNE(
  tsne.results = NULL,
  binary.results = NULL,
  column = "Cell.Type",
  title = "",
  facet = FALSE
)

Arguments

tsne.results

(Required) t-SNE object. Expects results from run_TSNE

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_TSNE(tsne.results, binary.results)
plot_TSNE(tsne.results, updated.cluster.results, column = 'Cell.Subtype', facet = TRUE)

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