meltSE: meltSE

Description Usage Arguments Value Examples

View source: R/meltSE.R

Description

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

Usage

1
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

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

SEtools documentation built on Nov. 8, 2020, 8:21 p.m.