Skip to contents

Extract coordinates from fit

Usage

getCoords(fit, modelname, rownames, d = "", source = "tsne")

Arguments

fit

Dimensionality reduction result; output from getFit

modelname

Name of the model, for the names of the columns

rownames

List of names for the rows

d

Output from previous run or, if it's the first run, empty string.

source

Technique used in dimensionality reduction: either "mds" for output from metaMDS, "tsne" for Rtsne, "umap" for umap. (it matches technique from getFit).

Value

a tibble with the coordinates of each element.