pace.PaceFit#
- class pace.PaceFit(B: ~numpy.ndarray, U: ~numpy.ndarray, se_B: ~numpy.ndarray, se_U: ~numpy.ndarray, alpha: ~numpy.ndarray, tau: ~numpy.ndarray, rho: ~numpy.ndarray, cell_types: list[str], genes: list[str], row_names: list[str], n_iter: int, converged: bool, params: dict[str, ~typing.Any] = <factory>, design: dict[str, ~typing.Any] | None = None, ambient_weights: dict[str, ~typing.Any] | None = None, fixed: ~numpy.ndarray | None = None, offset: ~numpy.ndarray | None = None, type_code: ~numpy.ndarray | None = None, kernel: ~numpy.ndarray | None = None, x: ~numpy.ndarray | None = None, y: ~numpy.ndarray | None = None, neighbour_slopes: ~typing.Any = None, variance_decomposition: ~typing.Any = None, single_frame: ~typing.Any = None, top_drivers: ~typing.Any = None, contam_fraction: ~numpy.ndarray | None = None, _counts: ~typing.Any = None, _statistics: ~typing.Any = None, condition_code: ~numpy.ndarray | None = None)[source]#
A fitted model, with the pieces the readouts need.
- __init__(B: ~numpy.ndarray, U: ~numpy.ndarray, se_B: ~numpy.ndarray, se_U: ~numpy.ndarray, alpha: ~numpy.ndarray, tau: ~numpy.ndarray, rho: ~numpy.ndarray, cell_types: list[str], genes: list[str], row_names: list[str], n_iter: int, converged: bool, params: dict[str, ~typing.Any] = <factory>, design: dict[str, ~typing.Any] | None = None, ambient_weights: dict[str, ~typing.Any] | None = None, fixed: ~numpy.ndarray | None = None, offset: ~numpy.ndarray | None = None, type_code: ~numpy.ndarray | None = None, kernel: ~numpy.ndarray | None = None, x: ~numpy.ndarray | None = None, y: ~numpy.ndarray | None = None, neighbour_slopes: ~typing.Any = None, variance_decomposition: ~typing.Any = None, single_frame: ~typing.Any = None, top_drivers: ~typing.Any = None, contam_fraction: ~numpy.ndarray | None = None, _counts: ~typing.Any = None, _statistics: ~typing.Any = None, condition_code: ~numpy.ndarray | None = None) None#
Methods
__init__(B, U, se_B, se_U, alpha, tau, rho, ...)Attributes
ambient_weightscondition_codecontam_fractiondesignfixedkernelneighbour_slopesoffsetsingle_frametop_driverstype_codevariance_decompositionxyBUse_Bse_Ualphataurhocell_typesgenesrow_namesn_iterconvergedparams