Description Usage Arguments Value Examples
For a subset of genes, the function calculates the dampened weighted least squares solution for a particular dampening constant. This is repeated 100 times per dampening constant over a range of dampening constants. The dampening constant with the lowest cross-validation variance is chosen.
1 | findDampeningConstant(S, B, goldStandard)
|
S |
Gene by cell-type matrix consisting of averaged expression values across cells from each cell type |
B |
List containing bulk data values. |
goldStandard |
An initial estimate of the number of each cell type present in the bulk data set. Often this estimate is derived from the |
Positive integer defining the dampening constant. The maximum weight value allowed will be d=2^(j-1).
1 | findDampeningConstant(S,B,solveOLS(S,B))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.