Classes
Methods
fitted(optionsopt) → {Float64Array|Float64WasmArray}
- Source:
Parameters:
Name | Type | Attributes | Default | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
<optional> |
{}
|
Optional parameters. Properties
|
Returns:
Array of length equal to the number of genes,
containing the fitted value of the mean-variance trend for the specified block
(or the average across all blocks, if block = null
).
- Type
- Float64Array | Float64WasmArray
free()
- Source:
Returns:
Frees the memory allocated on the Wasm heap for this object. This invalidates this object and all references to it.
isBlocked() → {boolean}
- Source:
Returns:
Whether blocking was used during trend fitting.
- Type
- boolean
means(optionsopt) → (nullable) {Float64Array|Float64WasmArray}
- Source:
Parameters:
Name | Type | Attributes | Default | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
<optional> |
{}
|
Optional parameters. Properties
|
Returns:
Array of length equal to the number of genes,
containing the mean log-expression across all cells in the specified block
(or the average across all blocks, if block = null
).
- Type
- Float64Array | Float64WasmArray
numberOfBlocks() → {number}
- Source:
Returns:
Number of blocks used.
- Type
- number
residuals(optionsopt) → {Float64Array|Float64WasmArray}
- Source:
Parameters:
Name | Type | Attributes | Default | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
<optional> |
{}
|
Optional parameters. Properties
|
Returns:
Array of length equal to the number of genes,
containing the residuals from the mean-variance trend for the specified block
(or the average across all blocks, if block = null
).
- Type
- Float64Array | Float64WasmArray
variances(optionsopt) → (nullable) {Float64Array|Float64WasmArray}
- Source:
Parameters:
Name | Type | Attributes | Default | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
<optional> |
{}
|
Optional parameters. Properties
|
Returns:
Array of length equal to the number of genes,
containing the variance of log-expression across all cells in the specified block
(or the average across all blocks, if block = null
).
- Type
- Float64Array | Float64WasmArray