Constructor
new SummarizedExperimentResult(rdsFile)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
rdsFile |
SimpleFile | string | Uint8Array | File | Contents of a RDS file. On browsers, this may be a File object. On Node.js, this may also be a string containing a file path. |
Classes
Methods
clear()
- Description:
Destroy caches if present, releasing the associated memory. This may be called at any time but only has an effect if
cache = true
inload
or {@linkcodeSummarizedExperimentResult#summary summary}.
- Source:
load(optionsopt) → {object}
- Source:
Parameters:
Name | Type | Attributes | Default | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
<optional> |
{}
|
Optional parameters. Properties
|
Returns:
Object containing the per-feature and per-cell annotations. This has the following properties:
features
: an object where each key is a modality name and each value is a DataFrame of per-feature annotations for that modality.cells
: a DataFrame containing per-cell annotations.matrix
: a MultiMatrix containing one ScranMatrix per modality.reduced_dimensions
: an object containing the dimensionality reduction results. Each value is an array of arrays, where each inner array contains the coordinates for one dimension.
If the main experiment is unnamed, its modality name is set to an empty string. If the main experiment's name is the same as any alternative experiment name, the former will be reported in the returned objects.
- Type
- object
options() → {object}
- Source:
Returns:
Object containing all options used for loading.
- Type
- object
setOptions(options)
- Source:
Parameters:
Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object | Optional parameters that affect Properties
|
summary(optionsopt) → {object}
- Source:
Parameters:
Name | Type | Attributes | Default | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
<optional> |
{}
|
Optional parameters. Properties
|
Returns:
Object containing the per-feature and per-cell annotations. This has the following properties:
modality_features
: an object where each key is a modality name and each value is a DataFrame of per-feature annotations for that modality.cells
: a DataFrame of per-cell annotations.modality_assay_names
: an object where each key is a modality name and each value is an Array containing the names of available assays for that modality. Unnamed assays are represented asnull
names.reduced_dimension_names
: an Array of strings containing names of dimensionality reduction results.
If the main experiment is unnamed, its modality name is set to an empty string. If the main experiment's name is the same as any alternative experiment name, the former will be reported in the returned objects.
- Type
- object
(static) defaults() → {object}
- Source:
Returns:
Default options, see setOptions
for more details.
- Type
- object