Description Usage Arguments Value
View source: R/data_integration.R
Initialize the non-negative factor loading with the label encoding by performing k-means on the centered and scaled data matrix concatenated. Then the comman factor matrix W is initilizated sequentially by nonnegative matrix fatorization using scaled but not centered data matrix.
1 | initialize_params(X.list, r, W = NULL, verbose = TRUE)
|
X.list |
a list of ncells-by-ngenes gene expression matrix |
r |
scalar, dimensional of common factor matrix, which can be chosen as the rough number of identifiable cells types in the joint population (default 15). |
W |
ngenes-by-r numeric matrix. Supplied if parameter initialization is provided (default NULL). |
verbose |
boolean scalar, whether to show extensive program logs (default TRUE) |
a list containing initialized parameters: W, H.list, lambda.list, b.list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.