cell2sample: Cell-to-sample mappings

Description Usage Arguments Value Note Examples

Description

Cell-to-sample mappings

Usage

1
2
3
4
cell2sample(object, ...)

## S4 method for signature 'SingleCellExperiment'
cell2sample(object, return = c("factor", "DataFrame", "tbl_df"))

Arguments

object

Object.

return

character(1). Return type. Uses match.arg() internally and defaults to the first argument in the character vector.

...

Additional arguments.

Value

Note

sampleID column must be defined in colData().

Updated 2019-08-22.

Examples

1
2
3
4
5
6
data(SingleCellExperiment, package = "acidtest")
sce <- SingleCellExperiment

## SingleCellExperiment ====
x <- cell2sample(sce)
table(x)

acidgenomics/basejump documentation built on Aug. 15, 2020, 10:21 a.m.