By default VISION will run tSNE on the latent space and use this to display the cells in the output report. However, with this method, you may add additional two-dimensional coordinates for inclusion in the output report. This is useful if you have previously run tSNE (or any other visualization method) and wish to integrate the results into VISION.

# S4 method for Vision
addProjection(object, name, coordinates)

Arguments

object

VISION object

name

Name of the projection

coordinates

numeric matrix or data.frame. Coordinates of each sample in the projection (NUM_SAMPLES x NUM_COMPONENTS)

Value

VISION object

Examples

if (FALSE) {

# First create the VISION object
vis <- Vision(data = expMat, signatures = sigs)

# Load and add an additional visualization
my_umap <- read.csv("umap_results.csv")
vis <- addProjection(vis, "UMAP", my_umap)

# Run analysis
vis <- analyze(vis)

# View results
viewResults(vis)

}