Classes
Methods
filter(metrics, optionsopt) → {Uint8Array}
- Source:
Parameters:
Name | Type | Attributes | Default | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
metrics |
PerCellRnaQcMetricsResults | 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 low-quality based on its values in metrics
.
If buffer
is supplied, the returned array is a view on buffer
.
- Type
- Uint8Array
free()
- Source:
Returns:
Frees the memory allocated on the Wasm heap for this object. This invalidates this object and all references to it.
numberOfBlocks() → {number}
- Source:
Returns:
Number of blocks in this object.
- Type
- number
numberOfSubsets() → {number}
- Source:
Returns:
Number of feature subsets in this object.
- Type
- number
thresholdsDetected(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 number of detected genes for each batch.
- Type
- Float64Array | Float64WasmArray
thresholdsSubsetProportions(i, optionsopt) → (nullable) {Float64Array|Float64WasmArray}
- Source:
Parameters:
Name | Type | Attributes | Default | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
i |
number | Index of the feature subset of interest. |
||||||||||||
options |
object |
<optional> |
{}
|
Optional parameters. Properties
|
Returns:
Array containing the filtering threshold on the proportions for subset i
in each batch.
Alternatively null
, if fillable = false
and the array was not already filled.
- Type
- Float64Array | Float64WasmArray
thresholdsSums(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 sums for each batch.
Alternatively null
, if fillable = false
and the array was not already filled.
- Type
- Float64Array | Float64WasmArray