meltSE | R Documentation |
Melts a SE object into a ggplot
-ready long data.frame.
meltSE(
x,
features,
assayName = NULL,
colDat.columns = NULL,
rowDat.columns = NULL,
flatten = TRUE,
baseDF = TRUE
)
x |
An object of class
|
features |
A vector of features (i.e. row.names) to include. Use 'features=NULL' to include all. |
assayName |
The name(s) of the assay(s) to use. If NULL and the assays are named, all of them will be included. |
colDat.columns |
The colData columns to include (defaults includes all). Use 'colDat.columns=NA' in order not to include any. |
rowDat.columns |
The rowData columns to include (default all). Use 'rowData=NA' to not include any. |
flatten |
Logical, whether to flatten nested data.frames. |
baseDF |
Logical, whether to return a base data.frame (removing columns containing other objects such as atomic lists). Filtering is applied after flattening. |
A data.frame (or a DataFrame).
data("Chen2017", package="sechm")
head(meltSE(Chen2017,"Fos"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.