ProjectSWNE: Projects new data onto an existing swne embedding

View source: R/swne_plotting.R

ProjectSWNER Documentation

Projects new data onto an existing swne embedding

Description

Projects new data onto an existing swne embedding

Usage

ProjectSWNE(
  swne.embedding,
  H.test,
  SNN = NULL,
  alpha.exp = 1,
  snn.exp = 1,
  n_pull = NULL
)

Arguments

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

Value

SWNE embedding for the test data


yanwu2014/swne documentation built on Aug. 5, 2023, 4:42 a.m.