Description Usage Arguments Details Value Author(s) Examples
Predicts diffusion map projection from new data points
1 | diffuseProj(dm, x, data, distfun)
|
dm |
Output from diffuseMat2 function |
x |
Matrix of new data points. Features in rows and cells in columns. |
data |
Original data used to generate diffusion map |
distfun |
A distance function that takes new data as first paramter and previous data as second variable returning a squared distance measure, with each sample in the rows and distance to previous data points in columns, e.g. function(x, y) (1 - cor(x, y))^2. |
Predicts diffusion map projection from new data points
Returns a matrix with projected diffusion components.
Wajid Jawaid
1 2 3 4 | ## Not run:
y <- diffuseProj(xx, newData, oldData, function(z) (1-cor(z))^2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.