Classes
Methods
filter(metrics, optionsopt) → {Uint8Array|Uint8WasmArray}
- Source:
Parameters:
| Name | Type | Attributes | Default | Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
metrics |
PerCellCrisprQcMetricsResults | Per-cell QC metrics, usually computed by |
||||||||||||||||||||||
options |
object |
<optional> |
{}
|
Optional parameters. Properties
|
Returns:
Array of length equal to the number of cells in metrics.
Each entry is truthy if the corresponding cell is deemed to be of high-quality based on its values in metrics.
If buffer is supplied, the function returns buffer if asTypedArray = false, or a view on buffer if asTypedArray = true.
- Type
- Uint8Array | Uint8WasmArray
free()
- Source:
Returns:
Frees the memory allocated on the Wasm heap for this object. This invalidates this object and all references to it.
maxValue(optionsopt) → (nullable) {Float64Array|Float64WasmArray}
- Source:
Parameters:
| Name | Type | Attributes | Default | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
<optional> |
{}
|
Optional parameters. Properties
|
Returns:
Array containing the filtering threshold on the maximum count in each batch.
- Type
- Float64Array | Float64WasmArray
numberOfBlocks() → {number}
- Source:
Returns:
Number of blocks in this object.
- Type
- number