elbamos / largeVis

An implementation of the largeVis algorithm for visualizing large, high-dimensional datasets, for R
340 stars 63 forks source link

Allow save_neighbors = FALSE #46

Closed bmschmidt closed 7 years ago

bmschmidt commented 7 years ago

Extremely small bug fix that should avoid an error I'm getting.

If save_neighbors == FALSE, the current code for largeVis attempts to transpose the matrix knns after it's been removed, raising an error. Removing this line fixes that error, and makes the code behave the same as for the parameter save_edges.