
Last chance! 50% off unlimited learning
Sale ends in
Predicts diffusion map projection from new data points
diffuseProj(dm, x, data, distfun)
Output from diffuseMat2 function
Matrix of new data points. Features in rows and cells in columns.
Original data used to generate diffusion map
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.
Returns a matrix with projected diffusion components.
Predicts diffusion map projection from new data points
# NOT RUN {
y <- diffuseProj(xx, newData, oldData, function(z) (1-cor(z))^2)
# }
Run the code above in your browser using DataLab