rcpp_mmutil_bbknn.Rd
BBKNN(Batch-balancing kNN) adjustment of SVD factors
rcpp_mmutil_bbknn(
r_svd_v,
r_svd_u = NULL,
r_svd_d = NULL,
r_batches = NULL,
knn = 10L,
RECIPROCAL_MATCH = TRUE,
KNN_BILINK = 10L,
KNN_NNLIST = 10L,
NUM_THREADS = 1L,
USE_SINGULAR_VALUES = FALSE
)
(n x L) n number of data points
(m x L) m number of features (default: NULL)
(L x 1) singular values (default: NULL)
batch names (n x 1)
kNN parameter k
do reciprocal match (default: TRUE)
num. of bidirectional links (default: 10)
num. of nearest neighbor lists (default: 10)
number of threads for multi-core processing
Weight factors by the corresponding SVs
a list of (1) factors.adjusted (2) D (3) V (4) knn
Build batch-balancing kNN graph based on (V * D) or V data.