expSetDataTag: expSetDataTag Set tag to an assay or a data item in the input...

View source: R/sctkTagging.R

expSetDataTagR Documentation

expSetDataTag Set tag to an assay or a data item in the input SCE object.

Description

expSetDataTag Set tag to an assay or a data item in the input SCE object.

Usage

expSetDataTag(inSCE, assayType, assays)

Arguments

inSCE

Input SingleCellExperiment object.

assayType

Specify a character(1) value as a tag that should be set against a data item.

assays

Specify name(s) character() of data item(s) against which the tag should be set.

Value

The input SingleCellExperiment object with tag information stored in the metadata slot.

Examples

data(scExample, package = "singleCellTK")
sce <- expSetDataTag(sce, "raw", "counts")

compbiomed/singleCellTK documentation built on Feb. 10, 2024, 3:32 a.m.