munge-NanoStringExperiment-method: Append metadata to assay in long format

munge,NanoStringExperiment-methodR Documentation

Append metadata to assay in long format

Description

Convert assay DataFrame into long format and append labels and meta to the new DataFrame

Usage

## S4 method for signature 'NanoStringExperiment'
munge(
  data,
  mapping = update(design(data), exprs ~ .),
  extradata = NULL,
  elt = "exprs",
  ...
)

Arguments

data

NanoStringExperiment object

mapping

formula to map data by

extradata

additional data to append

elt

expression matrix for assay element "exprs"

...

additional parameters

Value

matrix of results in long format

Examples

data(exampleNSEData)
head(munge(testExp, mapping = ~`cell_line` + exprs))


Nanostring-Biostats/NanoStringExperiment documentation built on April 28, 2022, 6:24 a.m.