velocyto-team / velocyto-notebooks

55 stars 31 forks source link

Analysis Pipeline : calculate_grid_arrows() #12

Open shaaaarpy opened 5 years ago

shaaaarpy commented 5 years ago

When i run the analysis for dentategyrus notebook, after calculating the calculate_grid_arrows() function, i get a return of flow_grid (np.ndarray) – the gridpoints. Why this array does not have any grid point as [0,0]. Is there any origin in the final graph?

gioelelm commented 5 years ago

The coordinates are arbitrary in tsne and many nonlinear dimensionality reduction outputs and the grid constists of a set of equally spaced points. Given the width and height spanned by the points, the space will be subdivided, so no there is no special reason why 0,0 must be there. If I may ask... why is this relevant at all?