get_model_fit: Fit regression models for many genes and save the fitting...

Description Usage Arguments Value

View source: R/get_model_fit.R

Description

Fit regression models for many genes and save the fitting objects

Usage

1
2
get_model_fit(cntfile, formula_string = NULL, model2fit = NULL,
  nCores = NULL, seed = NULL, outfile = NULL)

Arguments

cntfile

Expression quantity file (RData format: Use 'save' and 'load')

formula_string

A regression formula to fit the non-zero-inflated counts

model2fit

A specific model to fit (1:P, 2:NB, 3:ZIP, 4:ZINB, NULL:All)

nCores

Number of cores

seed

Seed number

outfile

Output file name to store ELPD_loo results (RDS format)

Value

A list of model fits (only available when outfile is not specified)


churchill-lab/scRATE documentation built on Aug. 12, 2020, 2:52 p.m.