TsneVis: Plot a tSNE map colored by a marker of interest

Description Usage Arguments Value Examples

View source: R/post.processing.R

Description

Wrapper for ggplot2 based plotting of a tSNE map to color by markers from the post-processed file if tSNE was set to TRUE in the post-processing function.

Usage

1
TsneVis(final, marker, label = marker)

Arguments

final

The tibble of cells by features outputted from the post.processing function. These features encompass both regular markers from the original data and the KNN statistics processed markers

marker

String that matches the marker name in the final data object exactly.

label

a string that indicates the name of the color label in the ensuing plot. Set to the marker string as default.

Value

A plot of bh-SNE1 x bh-SNE2 colored by the specified marker.

Examples

1
TsneVis(wand.final, "pSTAT5(Nd150)Di.IL7.change", "pSTAT5 change")

Example output



Sconify documentation built on Nov. 8, 2020, 6:45 p.m.