Constructor
new SummarizedExperiment(summary, path, fetch_json, fetch_range)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
summary |
object | A summary of the SummarizedExperiment contents, according to the wobbegong specifications. |
path |
string | Path to the SummarizedExperiment directory. 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 |
Classes
Methods
(async) alternativeExperiment(i) → (nullable) {SummarizedExperiment}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
i |
number | string | Index or name of the alternative experiment to retrieve. |
Returns:
A SummarizedExperiment instance representing the alternative experiment i
,
or null
if isSingleCellExperiment
is false.
- Type
- SummarizedExperiment
alternativeExperimentNames() → (nullable) {Array}
- Source:
Returns:
Names of the alternative experiments.
Alternatively null
if isSingleCellExperiment
is false.
- Type
- Array
(async) assay(i) → {Matrix}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
i |
number | string | Index or name of the assay to retrieve. |
Returns:
A Matrix instance representing the assay matrix i
.
- Type
- Matrix
assayNames() → {Array}
- Source:
Returns:
Names of the assays.
- Type
- Array
(async) columnData() → (nullable) {DataFrame}
- Source:
Returns:
A DataFrame instance representing the column data,
or null
if hasColumnData
is false.
- Type
- DataFrame
hasColumnData() → {boolean}
- Source:
Returns:
Whether column data is available.
- Type
- boolean
hasRowData() → {boolean}
- Source:
Returns:
Whether row data is available.
- Type
- boolean
isSingleCellExperiment() → {boolean}
- Source:
Returns:
Whether the underlying object is a SingleCellExperiment.
- Type
- boolean
numberOfColumns() → {number}
- Source:
Returns:
Number of columns.
- Type
- number
numberOfRows() → {number}
- Source:
Returns:
Number of rows.
- Type
- number
(async) reducedDimension(i) → (nullable) {ReducedDimensionResult}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
i |
number | string | Index or name of the reduced dimension result to retrieve. |
Returns:
A ReducedDimensionResult instance representing the reduced dimension result i
,
or null
if isSingleCellExperiment
is false.
reducedDimensionNames() → (nullable) {Array}
- Source:
Returns:
Names of the reduced dimensions.
Alternatively null
if isSingleCellExperiment
is false.
- Type
- Array
(async) rowData() → (nullable) {DataFrame}
- Source:
Returns:
A DataFrame instance representing the row data,
or null
if hasRowData
is false.
- Type
- DataFrame