tsne_perp | R Documentation |
tSNE plots with different perplexities and designs.
tsne_perp( z, perp = c(2, 5, 10, 50), sqrt = TRUE, iterations = 1000, groups, names, legend = T, legendname = NULL, main = NULL, filename = "t-SNE_perplexities.pdf", height = 16, useDingbats = F )
z |
the data as a data.frame |
perp |
a vector of values to test as perplexities, eg. c(2,5,10,50). |
sqrt |
logical, should sqrt(Nsamples) be added to perplexities? Potentially the lowest needed perplexity. |
iterations |
number of iterations per tSNE |
groups |
grouping for colors and lines |
names |
text to display as point labels |
legend |
TRUE or FALSE |
legendname |
Title of legend |
main |
Title of page |
filename |
String with filename and desired path, end with .pdf |
height |
height for pdf, see |
useDingbats |
Logical. Default is |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.