R/cycle_npreg.R
cycle_npreg_loglik.Rd
Infer Angles or Cell Cycle Phase Using Gene Expression Data
cycle_npreg_loglik( Y, sigma_est, funs_est, grids = 100, method.grid = c("pca", "uniform") )
Y | Gene by sample expression matrix. |
---|---|
sigma_est | A vector of standard errors for each gene from the training data. |
funs_est | A vector of cyclic functions estimated for each gene from the training data. |
grids | Number of bins used over interval 0 to |
method.grid | The approach used to initialize angles in the
computation. |
A list with the following three elements:
Inferred angles or cell cycle phases (not ordered).
Log-likelihood estimates for each gene.
Probabilities of each cell belonging to each bin.