Description Usage Arguments Value
Renders a component containing an HTML table of summarized sample or feature metadata of single-cell experiment objects or data.frames.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | summarize_metadata(dashboard, object, ...)
## S4 method for signature 'i2dashboard,missing'
summarize_metadata(
dashboard,
data,
columns = colnames(data),
FUNS = c("min", "max", "mean", "median"),
group_by = NULL,
caption = NULL,
description = NULL,
title = NULL
)
## S4 method for signature 'i2dashboard,SingleCellExperiment'
summarize_metadata(
dashboard,
object,
from = c("colData", "rowData"),
columns = NULL,
group_by = NULL,
caption = "Table: ",
description = NULL,
...
)
## S4 method for signature 'i2dashboard,Seurat'
summarize_metadata(
dashboard,
object,
from = c("meta.data", "meta.features"),
assay = "RNA",
columns = NULL,
group_by = NULL,
caption = "Table",
description = NULL,
...
)
|
dashboard |
An object of class i2dashboard. |
object |
An object of class Seurat or SingleCellExperiment. |
... |
Further parameters passed to the core function. |
data |
Data.frame containing numeric observations to summarize. |
columns |
The metadata columns to summarize. |
FUNS |
A named vector indicating summary functions. |
group_by |
A column name of a column containing grouping factors for grouping. |
caption |
The tables caption. |
description |
The tables description. |
title |
The title of the component. |
from |
A character specifying where to obtain the data from |
assay |
A character defining the assay of |
A string containing markdown code for the rendered component
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.