fit_poilog: Composite maximum likelihood estimation for Poisson...

Description Usage Arguments Value Examples

View source: R/fit_poilog.R

Description

fit_poilog uses composite maximum likelihood estimation to fit the mean and the covariance of a Poisson log-normal mixed model.

Usage

1
fit_poilog(Y, ncores = 1)

Arguments

Y

Matrix with proteins counts with dimensions (number of cells) x (number of markers)

ncores

Number of CPU cores to use

Value

A list containing

beta

estimated mean parameter

Sigma

estimated covariance parameter

Examples

1
2
3
4
5
set.seed(1)
df = simulate_data(n_cells = 10)
str(df)
Y = dplyr::select(df, names(df)[3:ncol(df)])
fit_poilog(Y)

ChristofSeiler/cytoeffect documentation built on Nov. 24, 2020, 12:25 a.m.