rcpp_mmutil_aggregate.Rd
Create pseudo-bulk data by aggregating columns
rcpp_mmutil_aggregate(
mtx_file,
row_file,
col_file,
r_cols = NULL,
r_indv = NULL,
r_annot = NULL,
r_annot_mat = NULL,
r_lab_name = NULL,
r_trt = NULL,
r_V = NULL,
a0 = 1,
b0 = 1,
eps = 1e-08,
knn = 10L,
KNN_BILINK = 10L,
KNN_NNLIST = 10L,
NUM_THREADS = 1L,
IMPUTE_BY_KNN = TRUE,
MAX_ROW_WORD = 2L,
ROW_WORD_SEP = "_",
MAX_COL_WORD = 100L,
COL_WORD_SEP = "@"
)
data file
row file
column file
cell (col) names
membership for the cells (r_cols
)
label annotation for the (r_cols
)
label annotation matrix (cell x type) (default: NULL)
label names (default: everything in r_annot
)
treatment assignment (default: NULL)
SVD factors (default: NULL)
hyperparameter for gamma(a0, b0) (default: 1)
hyperparameter for gamma(a0, b0) (default: 1)
small number (default: 1e-8)
k-NN matching
num. of bidirectional links (default: 10)
num. of nearest neighbor lists (default: 10)
number of threads for multi-core processing
imputation by kNN alone (default: TRUE)
a list of inference results