Methods
decode(x, type, order, optionsopt) → {Int32Array|Array|Float64Array}
Parameters:
| Name | Type | Attributes | Default | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| x | Uint8Array | A DEFLATE-compressed byte range containing an array. | ||||||||||||
| type | string | Type of the array, either  | ||||||||||||
| order | string | The byte order of the (decompressed) values in  | ||||||||||||
| options | object | <optional> | {} | Additional options. Properties
 | 
Returns:
An array of values of the specified type.
See decodeStrings, decodeBooleans, decodeIntegers or decodeDoubles for more details.
- Type
- Int32Array | Array | Float64Array
decodeBooleans(x) → {Array}
Parameters:
| Name | Type | Description | 
|---|---|---|
| x | Uint8Array | A DEFLATE-compressed byte range containing booleans. | 
Returns:
Array of booleans.
Missing values are represented as null.
- Type
- Array
decodeDeltaIndices(x, order) → {Int32Array}
- Description:
- Decode delta-encoded indices from a DEFLATE-compressed byte range. 
 
- Source:
Parameters:
| Name | Type | Description | 
|---|---|---|
| x | Uint8Array | A DEFLATE-compressed byte range containing delta-encoded indices. | 
| order | string | The byte order of the (decompressed) values in  | 
Returns:
Array of decoded indices.
- Type
- Int32Array
decodeDoubles(x, order) → {Float64Array}
- Description:
- Decode double-precision floating-point values from a DEFLATE-compressed byte range. 
 
- Source:
Parameters:
| Name | Type | Description | 
|---|---|---|
| x | Uint8Array | A DEFLATE-compressed byte range containing doubles. | 
| order | string | The byte order of the (decompressed) values in  | 
Returns:
Array of decoded doubles.
- Type
- Float64Array
decodeIntegers(x, order, optionsopt) → {Int32Array|Array|Float64Array}
- Description:
- Decode 32-bit integers from a DEFLATE-compressed byte range. 
 
- Source:
Parameters:
| Name | Type | Attributes | Default | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| x | Uint8Array | A DEFLATE-compressed byte range containing 32-bit integers. | ||||||||||||
| order | string | The byte order of the (decompressed) values in  | ||||||||||||
| options | object | <optional> | {} | Additional options. Properties
 | 
Returns:
Array of decoded integers.
This is an Int32Array if missing="raw" or if there are no missing values;
otherwise it is either an ordinary Array or a Float64Array, depending on the choice of missing.
- Type
- Int32Array | Array | Float64Array
decodeStrings(x) → {Array}
Parameters:
| Name | Type | Description | 
|---|---|---|
| x | Uint8Array | A DEFLATE-compressed byte range containing strings. | 
Returns:
Array of strings.
Missing values are represented as null.
- Type
- Array
load(path, fetch_json, fetch_range) → {DataFrame|SummarizedExperiment}
Parameters:
| Name | Type | Description | 
|---|---|---|
| path | string | Path to a directory containing a SummarizedExperiment or DataFrame. This may be a relative or absolute path, depending on how the files are hosted. | 
| fetch_json | function | A function that accepts  | 
| fetch_range | function | A function that accepts  | 
Returns:
Interface to a DataFrame or SummarizedExperiment,
depending on the object at path.
- Type
- DataFrame | SummarizedExperiment