View source: R/SnapATACUtils.R
runKNN | R Documentation |
It will check snapLandmark and snapQuery firstly, if snapLandmark is not NULL, will use it. if snapQuery then is also NULL, will merge them. if both of them are NULL, then use snapAllFile, snapAll in order.
runKNN( snapAll = NULL, snapAllFile = NULL, snapLandmark = NULL, snapLandmarkFile = NULL, snapQuery = NULL, snapQueryFile = NULL, removeBmat = TRUE, removeJmat = TRUE, k = 50, dims = 1:30, method = "RANN", runUMAP = TRUE, umapNcores = 1, outmmtxFile = NULL, outSnapFile = NULL )
snapAll |
SnapObject, default NULL |
snapAllFile |
characters, default NULL |
snapLandmark |
SnapObject, default NULL |
snapLandmarkFile |
characters, default NULL |
snapQuery |
SnapObject, default NULL |
snapQueryFile |
SnapObject, default NULL |
removeBmat |
bool, default TRUE |
removeJmat |
bool, default TRUE |
k |
integer, default 50 |
dims |
integer or vector, default is 1:30 |
method |
characters, method for KNN (either "RANN" or "Annoy") default "RANN" |
runUMAP |
bool, default TRUE |
umapNcores |
integer, default 1 |
outmmtxFile |
characters, output file of mmtx, default NULL |
outSnapFile |
characters, default NULL |
SnapObject
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.