Description Usage Arguments Details Value Examples
Performs single or multiple rank NMF factorization of count matrix using maximum likelihood
1 2 3 4 |
object |
|
ranks |
Rank for factorization; can be a vector of multiple values. |
nrun |
No. of runs with different initial guess. |
randomize |
Boolean; if |
nsmpl |
No. of randomized samples to average over. |
verbose |
The verbosity level: 3, each iteration output printed; 2, each run output printed; 1, each randomized sample output printed; 0, silent. |
progress.bar |
Display progress bar when |
Itmax |
Maximum no. of iteration. |
ncnn.step |
Minimum no. of steps with no change in connectivity matrix to achieve convergence. |
criterion |
If |
linkage |
Method to be sent to |
Tol |
Tolerance for checking convergence with
|
store.connectivity |
Returns a list also containing connectivity data. |
The main input is the scNMFSet
object with count matrix.
This function performs non-negative factorization and fills in the empty
slots basis
, coeff
, and ranks
.
When run with multiple values of ranks
,
factorization is repeated for each rank and the slot measure
contains quality measures of the ranks. The quality measure
likelihood
is negative the KL distance of the fit to the
target. With nrun > 1
, the likelihood is the maximum
among all runs.
The quality measure dispersion
is the scalar
measure of how far the connectivity matrix is from 0, 1. With
increasing nrun
, dispersion
decreases from 1.
nrun
should be chosen such that dispersion
does not
change appreciably.
With randomization, count
matrix of object
is shuffled.
nsmpl
can be used to average over multiple permutations. This
averaging applies to each quality measure under a given rank.
Object of class scNMFSet
with factorization slots filled.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.