The function basisfit
is a generic function to
extract fit data computed when estimating a model's set
of basis components.
In the case of gene expression deconvlution, basis components consist in the cell-specific -- differential -- gene expression values for each estimated cell type.
The function coeffit
is a generic function to
extract fit data computed when estimating a model's set
of coefficients.
In gene expression deconvolution, these correspond to cell type proportions in each sample.
basisfit(x, ...) coeffit(x, ...)
ged
, i.e.
typically an NMF-class
object.The default methods for basisfit
(resp.
coeffit
) returns the "elements" called
'basisfit'
(resp. 'coeffit'
), by as
returned by x$basisfit
(resp. x$basisfit
).
This means that they should work on objects for which a
suitable method $
exists.