np_cell_ordering_class: Nonparametric cell ordering into different phases on the cell...

Description Usage Arguments Value Author(s)

View source: R/np_cell_ordering_class.R

Description

The function runs a Gibbs sampler for a number of iterations to obtain the estimates of cell times on cell cycle (modulo rotation) as well as the gene features (smoothing fit)

Usage

1
2
np_cell_ordering_class(cycle_data, celltime_levels, num_iter,
  method = c("LOESS", "B-spline", "Wavelet"), save_path = NULL)

Arguments

num_iter

The number of iterations to run for the Gibbs sampler scheme

save_path

The file path to save the RDA file containing the information on gene characteristics and the cell ordering times. Default is NULL in which case, it will not save output

cycle_data:

a N x G matrix, where N is number of cells, G number of genes

celltime_levels:

The number of phase classes chosen (The deafult is 100). It splits up circle or the range (0, 2pi) into celltime_levels uniform splits.

Value

Returns a list containing the following items

cell_times

estimated cell times from Gibbs sampler

sigma

The estimated non-signal or noise variation of the genes

loglik

The model log likelihood of the fit

signal_intensity

The intensity of each cell in each of the cell times classes

Author(s)

Kushal K Dey


kkdey/cellcycleR documentation built on May 20, 2019, 10:33 a.m.