| run_tsne | R Documentation | 
run_tsne
run_tsne(
  profile_dt,
  perplexity = 100,
  n_cores = getOption("mc.cores", 1),
  high_topright = TRUE,
  norm1 = TRUE,
  Y_init = NULL,
  x_var = "x",
  y_var = "y",
  id_var = "id",
  wide_var = "name",
  tall_var = "tall_none",
  fun.aggregate = mean
)
profile_dt | 
 Tidy data.table of profile information. As returned by seqsetvis::ssvFetchBam.  | 
perplexity | 
 perplexity value for t-SNE. Passed to Rtsne::Rtsne.  | 
n_cores | 
 Number of threads for running t-SNE.  | 
high_topright | 
 If TRUE, flip tx/ty as needed such that most points are in the top-right quadrant.  | 
norm1 | 
 If TRUE, rescale tx and ty to be centered at 0,0 with total size of 1.  | 
Y_init | 
 Optional initial coordinates for tx and ty.  | 
wide_var | 
 Wide variable. Spreads matrix into columns. Each regions tSNE position will be based on one profile for every value of wide_var.  | 
tall_var | 
 Tall variable. Repeats matrix entries down rows. Each region will appear once per value of tall_var in final tSNE.  | 
Return data.table mapping each id_var entry to tSNE space: defined by tx and ty
data("profile_dt")
setalloccol(profile_dt)
chiptsne:::run_tsne(profile_dt, wide_var = "wide_var", tall_var = "tall_var")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.