fit_parameters: Fit parameters to a dataset

Description Usage Arguments Value Examples

View source: R/fit.R

Description

fit_parameters find parameters from data to simulate new dataset

Usage

1
fit_parameters(data, plot = TRUE, method = "mge", ...)

Arguments

data

matrix; gene by cell dge matrix of counts

plot

logical; if TRUE the real vs theoretical distribution plots qqplot etc. are printed

Value

An object of class dropsim_parameters containing fitted parameters for the mean and library size lognormal distributions

Examples

1
# new_parameters <- fit_parameters(your_data_matrix)

marchinilab/sinsynthr documentation built on May 29, 2019, 3:44 a.m.