Accessing Fit Data in Deconvolution Results

Description

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.

Usage

basisfit(x, ...)

coeffit(x, ...)

Arguments

x
an object returned by ged, i.e. typically an NMF-class object.
...
extra arguments to allow extension.

Details

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.