View source: R/swne_plotting.R
ProjectSWNE | R Documentation |
Projects new data onto an existing swne embedding
ProjectSWNE(
swne.embedding,
H.test,
SNN = NULL,
alpha.exp = 1,
snn.exp = 1,
n_pull = NULL
)
swne.embedding |
Existing swne embedding from EmbedSWNE |
H.test |
Test factor scores |
SNN |
Test SNN matrix |
alpha.exp |
Increasing alpha.exp increases how much the factors "pull" the samples |
snn.exp |
Decreasing snn.exp increases the effect of the similarity matrix on the embedding |
n_pull |
Number of factors pulling on each sample. Must be >= 3 |
SWNE embedding for the test data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.