melt.SingleCellAssay {MAST} | R 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')

[Package MAST version 1.12.0 Index]