Classes
Members
mitochondriaSpecies :Array
- Description:
Array of strings containing the taxonomy IDs for species where mitochondrial gene lists are available.
- Source:
Array of strings containing the taxonomy IDs for species where mitochondrial gene lists are available.
Type:
- Array
Methods
(async) compute(parameters)
- Description:
This method should not be called directly by users, but is instead invoked by
runAnalysis.
- Source:
Parameters:
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
parameters |
object | Parameter object, equivalent to the Properties
|
Returns:
The object is updated with the new results.
fetchFilters() → {external:SuggestRnaQcFiltersResults}
- Source:
Returns:
Result of filtering on the RNA-derived QC metrics.
This is available after running compute.
fetchKeep() → {Uint8WasmArray}
- Source:
Returns:
Buffer containing a vector of length equal to the number of cells,
where each element is truthy if the corresponding cell is to be retained after filtering.
This is available after running compute.
- Type
- Uint8WasmArray
fetchMetrics() → {external:PerCellRnaQcMetricsResults}
- Source:
Returns:
RNA-derived QC metrics,
available after running compute.
fetchParameters() → {object}
- Source:
Returns:
Object containing the parameters.
- Type
- object
(static) defaults() → {object}
- Source:
Returns:
Object containing default parameters,
see the parameters argument in compute for details.
- Type
- object
(static) flush()
- Description:
Flush all cached lists of mitochondrial genes.
By default,
computewill cache the mitochondrial gene lists in a static member for re-use across RnaQualityControlState instances. These cached lists are not tied to any single instance and will not be removed by garbage collectors or byfreeAnalysis. Rather, this function should be called to release the relevant memory.
- Source:
(static) setDownload(fun)
- Description:
Specify a function to download the reference mitochondrial gene lists.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
fun |
function | Function that accepts a single string containing a URL and returns any value that can be used in the SimpleFile constructor. This is most typically a Uint8Array of that URL's contents, but it can also be a path to a locally cached file on Node.js. |
Returns:
fun is set as the global downloader for this step.
The previous value of the downloader is returned.