melt.SingleCellAssay: "Melt" a 'SingleCellAssay' matrix

View source: R/SingleCellAssay-methods.R

melt.SingleCellAssayR Documentation

"Melt" a SingleCellAssay matrix

Description

Return a molten (flat) representation, taking the cross-product of the expression values, the colData (column meta data), and the feature data (mcols).

Usage

## S3 method for class 'SingleCellAssay'
melt(data, ..., na.rm = FALSE, value.name = "value")

Arguments

data

SingleCellAssay

...

ignored

na.rm

ignored

value.name

name of 'values' column in returned value

Value

A data.table, with the cartesian product of the row and column attributes and the expression values

Examples

data(vbetaFA)
melt.SingleCellAssay(vbetaFA[1:10,])
as(vbetaFA[1:10,], 'data.table')

RGLab/MAST documentation built on Sept. 30, 2023, 1:08 p.m.