run_scINSIGHT {scINSIGHT} | R Documentation |
Perform scINSIGHT on normalized datasets
Description
Perform INterpreting single cell gene expresSIon bioloGically Heterogeneous daTa (scINSIGHT) to return factorized ,
,
and
matrices.
This factorization produces a matrix (cells by
), a
matrix (cells by
), a shared
matrix (
by genes)
for each sample, and a
(
by genes) matrix for each condition.
are the expression matrices of
common gene modules for all samples,
is the membership matrix of
common gene modules, and it's shared by all samples.
are the expression matrices of
condition-specific gene modules for all samples,
and
are the membership matrices of
condition-specific gene modules for all conditions.
Usage
run_scINSIGHT(
object,
K = seq(5, 15, 2),
K_j = 2,
LDA = c(0.001, 0.01, 0.1, 1, 10),
thre.niter = 500,
thre.delta = 0.01,
num.cores = 1,
B = 5,
out.dir = NULL,
method = "increase"
)
Arguments
object |
|
K |
Number of common gene modules. (default |
K_j |
Number of dataset-specific gene modules. (default 2) |
LDA |
Regularization parameters. (default |
thre.niter |
Maximum number of block coordinate descent iterations to perform. (default 500) |
thre.delta |
Stop iteration when the reduction of objective function is less than the threshold. (default 0.01) |
num.cores |
Number of cores used for optimizing factorizations in parallel (default 1). |
B |
Number of repeats with random seed from 1 to B. (default 5) |
out.dir |
Output directory of scINSIGHT results. (default NULL) |
method |
Method of updating the factorization (default "increase"). If provide multiple For "increase", the algorithm will first perform factorization with the least For "increase", the algorithm will first perform factorization with the largest |
Value
scINSIGHT
object with ,
,
,
and parameters slots set.