EmbedFeatures: Embeds features relative to factor coordinates

Description Usage Arguments Value

View source: R/swne_plotting.R

Description

Embeds features relative to factor coordinates

Usage

1
2
EmbedFeatures(swne.embedding, feature.assoc, features.embed,
  alpha.exp = 1, n_pull = NULL, scale.cols = T, overwrite = T)

Arguments

swne.embedding

Existing swne embedding from EmbedSWNE

feature.assoc

Feature loadings or correlations (features x factors)

features.embed

Names of features to embed

alpha.exp

Increasing alpha.exp increases how much the factors "pull" the features

n_pull

Number of factors pulling on each feature. Must be >= 3

scale.cols

Whether or not to scale the input columns to 0 - 1

overwrite

Whether or not to overwrite any existing feature embedding

Value

swne.embedding with feature coordinates (feature.coords)


yanwu2014/swne documentation built on Dec. 18, 2018, 2:39 a.m.