mutate: Add new variables to 'pData(object)'.

Description Usage Arguments Value Examples

Description

Adds new columns to pData(object) preserving existing variables.

Usage

1
2
3
4
5
6
mutate(object, ...)

## S4 method for signature 'SCESet'
mutate(object, ...)

mutate.SCESet(object, ...)

Arguments

object

A SCESet object.

...

Additional arguments to be passed to dplyr::mutate to act on pData(object).

Value

An SCESet object.

Examples

1
2
3
4
5
data("sc_example_counts")
data("sc_example_cell_info")
pd <- new("AnnotatedDataFrame", data = sc_example_cell_info)
example_sceset <- newSCESet(countData = sc_example_counts, phenoData = pd)
example_sceset <- mutate(example_sceset, is_quiescent = Cell_Cycle == "G0")


scater documentation built on May 20, 2017, 10:39 p.m.
Search within the scater package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.