CAMASObj-class {debCAM} | R Documentation

## Class "CAMASObj"

### Description

An S4 class for storing estimated proportions, subpopulation-specific expressions and mdl values. The mdl values are calculated in three approaches: (1) based on data and A matrix in dimension-reduced space; (2) based on original data with A matrix estimated by transforming dimension-reduced A matrix back to original space; (3) based on original data with A directly estimated in original space. A and S matrix in original space estimated from the latter two approaches are returned. mdl is the sum of two terms: code length of data under the model and code length of model. Both mdl value and the first term (code length of data) will be returned.

### Slots

`Aest`

  Estimated proportion matrix from Approach 2.

`Sest`

  Estimated subpopulation-specific expression matrix from Approach 2.

`Aest.proj`

  Estimated proportion matrix from Approach 2, before removing scale ambiguity.

`Ascale`

  The estimated scales to remove scale ambiguity of each column vector in Aest. Sum-to-one constraint on each row of Aest is used for scale estimation.

`AestO`

  Estimated proportion matrix from Approach 3.

`SestO`

  Estimated subpopulation-specific expression matrix from Approach 3.

`AestO.proj`

  Estimated proportion matrix from Approach 3, before removing scale ambiguity.

`AscaleO`

  The estimated scales to remove scale ambiguity of each column vector in AestO. Sum-to-one constraint on each row of AestO is used for scale estimation.

`datalength`

  Three values for code length of data. The first is calculated based on dimension-reduced data. The second and third are based on the original data.

`mdl`

  Three mdl values. The first is calculated based on dimension-reduced data. The second and third are based on the original data.

[Package debCAM version 1.5.0 Index]