meltSE {SEtools}R Documentation

meltSE

Description

Melts a SE object into a ggplot-ready long data.frame.

Usage

meltSE(x, genes, assayName = NULL, colDat.columns = NULL, rowDat.columns = NA)

Arguments

x

An object of class SummarizedExperiment-class

genes

A vector of genes to include. Use 'genes=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 (if they are not named, the first one will be used).

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 (none included by default). Use 'rowData=NULL' to include all.

Value

A data.frame.

Examples

data("SE", package="SEtools")
head(meltSE(SE,"Fos"))


[Package SEtools version 1.4.0 Index]