Maximum likelihood on a face of the single-cell model
Source:R/03_04_single_cell_inference.R
restricted_mle_single_cell.RdProfiles the two technical scales out. Without fixed, this is
deconvolute_single_cell(). With fixed, the free block is an ILR
chart of the remaining face, so a coordinate can be held at zero, and
it is fitted by Newton-Raphson on the profile log-likelihood with the
PORT trust region of stats::nlminb(), as restricted_mle_decovart().
Usage
restricted_mle_single_cell(
y,
mean_signature_matrix,
Sigma,
fixed = NULL,
epsilon = 1e-08,
itmax = 100L
)Arguments
- y
Bulk vector of length \(G\).
- mean_signature_matrix
Reference mean, \(G\times J\).
- Sigma
Cell-level covariances, \(G\times G\times J\).
- fixed
Named ratios held fixed, as in
restricted_mle_decovart().- epsilon
Relative function and step tolerances passed to
stats::nlminb().- itmax
Maximum number of iterations.
See also
Other decovart_inference:
bootstrap_decovart(),
bootstrap_single_cell(),
boundary_diagnostics(),
chi_bar_square_pvalue(),
confint_decovart(),
confint_ilr_backtransform(),
confint_profile_decovart(),
confint_profile_single_cell(),
confint_single_cell(),
equivariance_check_decovart(),
fit_firth_decovart(),
fit_firth_single_cell(),
lrt_decovart(),
lrt_single_cell(),
multistart_decovart(),
reference_bootstrap_decovart(),
reference_bootstrap_single_cell(),
restricted_mle_decovart()