LAPP.plot.tSNE: Plot LAPP tSNE

Description Usage Arguments

Description

LAPP.plot.tSNE() takes in a list object returned by LAPP.tSNE() and plots it. Uses ggplot2.

Usage

1
2
3
LAPP.plot.tSNE(tsne, type = "density", colors = c("#000000", "#E69F00",
  "#56B4E9", "#009E73", "#F0E442", "#0072B2", "#D55E00", "#CC79A7"),
  clust.dict = NA)

Arguments

tsne

modified PCA object returned by LAPP.tsne(). Can take up to 8 different HLA alleles.

type

How the PCA should be plotted. Either 'points' for scatterplot or 'density' for an automated 2D KDE plot (default).

colors

list of colors for coloring different HLA in the plot. Defaults to a colorblind palette with 8 colors.

clust.dict

optional argument for clustering HLAs together for coloring.


ash129/LAPP documentation built on May 10, 2019, 1:52 p.m.