Tailored function for finding neighbors in lower dimensional space.
find_neighbors.Rd
This function adapts the Seurat FindNeighbors function by also checking if 'dims' is larger than dimensions in 'reduction' object. If yes, it takes maximum columns of 'reduction' object.
Arguments
- seu
Seurat object (required).
- dims
Vector denoting which dimensions to use as input features, e.g. dims = 1:30
- reduction
Reduction object to run UMAP. E.g. can be 'pca' or 'harmony' for integrated data (required).
- ...
Additional named parameters to Seurat FindNeighbors function.
Author
C.A.Kapourani C.A.Kapourani@ed.ac.uk