makeScatterplot: Make a scatterplot.

Description Usage Arguments

Description

Useful for 2D visualization of single cells colored with e.g. true cell type (the subject) and an assigned cluster (the query).

Usage

1
2
3
makeScatterplot(x, y, subject, query, subjectColors = NULL,
  x_lab = "x", y_lab = "y", subject_lab = "subject",
  query_lab = "query")

Arguments

x

Vector of x coordinates.

y

Vector of y coordinates.

subject

Vector of reference cluster assignments.

query

Vector of cluster assignments for comparison with reference.

subjectColors

A named Vector of colors for reference clusters. Uses rainbow colors if not assigned.

x_lab

Label for x axis. Defaults to "x".

y_lab

Label for y axis. Defaults to "y".

subject_lab

Label for subject legend. Defaults to "subject".

query_lab

Label for query legend. Defaults to "query".


clajusch/ClEvaR documentation built on May 9, 2019, 4:55 a.m.