LAPP.plot.tSNE()
takes in a list object returned by LAPP.tSNE() and plots it.
Uses ggplot2.
1 2 3 | LAPP.plot.tSNE(tsne, type = "density", colors = c("#000000", "#E69F00",
"#56B4E9", "#009E73", "#F0E442", "#0072B2", "#D55E00", "#CC79A7"),
clust.dict = NA)
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.