given a (count) matrix and dimension reduction result, return the projected UMAP coordinates in the embedding space

projectMatrix_UMAP(X, umapObj, binarize = TRUE, addPcCoord = FALSE)

Arguments

X

matrix to be projected (features X samples)

umapObj

dimension reduction result as returned by dimRed_UMAP

binarize

binarize the counts before projecting

addPcCoord

also add PC coordinates to the resulting matrix

Value

Projected UMAP coordinates

Author

Fabian Mueller