Arrange rows of pData(object) by variables.

Share:

Description

The SCESet returned will have cells ordered by the corresponding variable in pData(object).

Usage

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

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

arrange.SCESet(object, ...)

Arguments

object

A SCESet object.

...

Additional arguments to be passed to dplyr::arrange to act on pData(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 <- arrange(example_sceset, Cell_Cycle)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.